Skip to content

Commit 1ba2203

Browse files
committed
Fix HANA and Oracle old testsuite failure due to id column only table with identity
1 parent 7fbe3e1 commit 1ba2203

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/jpa/remove/RemoveAndOrderUpdateTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,9 @@ public void testRemove(EntityManagerFactoryScope scope) {
7272
@Entity(name = "Form")
7373
public static class Form {
7474
@Id
75-
@GeneratedValue(strategy = GenerationType.IDENTITY)
75+
@GeneratedValue
7676
protected Long id;
77+
protected String name;
7778

7879
public Long getId() {
7980
return id;
@@ -88,7 +89,7 @@ public void setId(Long id) {
8889
@Entity(name = "FormInput")
8990
public static class FormInput {
9091
@Id
91-
@GeneratedValue(strategy = GenerationType.IDENTITY)
92+
@GeneratedValue
9293
private Long id;
9394

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

0 commit comments

Comments
 (0)