mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-10 05:04:52 +00:00
Fix HANA and Oracle old testsuite failure due to id column only table with identity
This commit is contained in:
parent
71dc1c2f64
commit
dd385383bb
@ -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;
|
||||
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user