mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-15 23:55:05 +00:00
HHH-9460 - Removing non-optional bidirectional @OneToOne association with cascade
Add entity name so that the underlying table uses it instead of the nested class name
This commit is contained in:
parent
19e9bfe303
commit
ce95ffe441
@ -55,7 +55,7 @@ public void test() {
|
||||
} );
|
||||
}
|
||||
|
||||
@javax.persistence.Entity
|
||||
@javax.persistence.Entity( name = "Parent" )
|
||||
public static class Parent {
|
||||
|
||||
@Id
|
||||
@ -79,7 +79,7 @@ public void setChild(Child child) {
|
||||
|
||||
}
|
||||
|
||||
@javax.persistence.Entity
|
||||
@javax.persistence.Entity( name = "Child" )
|
||||
public static class Child {
|
||||
|
||||
@Id
|
||||
|
Loading…
x
Reference in New Issue
Block a user