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 class BidirectionalOptionalOneToOneTest
|
||||||
} );
|
} );
|
||||||
}
|
}
|
||||||
|
|
||||||
@javax.persistence.Entity
|
@javax.persistence.Entity( name = "Parent" )
|
||||||
public static class Parent {
|
public static class Parent {
|
||||||
|
|
||||||
@Id
|
@Id
|
||||||
|
@ -79,7 +79,7 @@ public class BidirectionalOptionalOneToOneTest
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@javax.persistence.Entity
|
@javax.persistence.Entity( name = "Child" )
|
||||||
public static class Child {
|
public static class Child {
|
||||||
|
|
||||||
@Id
|
@Id
|
||||||
|
|
Loading…
Reference in New Issue