Skip to content

Commit

Permalink
Fix HANA and Oracle old testsuite failure due to id column only table…
Browse files Browse the repository at this point in the history
… with identity
  • Loading branch information
beikov committed Jul 25, 2023
1 parent 7fbe3e1 commit 1ba2203
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,9 @@ public void testRemove(EntityManagerFactoryScope scope) {
@Entity(name = "Form")
public static class Form {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@GeneratedValue
protected Long id;
protected String name;

public Long getId() {
return id;
Expand All @@ -88,7 +89,7 @@ public void setId(Long id) {
@Entity(name = "FormInput")
public static class FormInput {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@GeneratedValue
private Long id;

@ManyToOne(optional = false, fetch = FetchType.EAGER)
Expand Down

0 comments on commit 1ba2203

Please sign in to comment.