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:
Vlad Mihalcea 2017-02-02 13:05:50 +02:00
parent 19e9bfe303
commit ce95ffe441
1 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ public class BidirectionalOptionalOneToOneTest
} );
}
@javax.persistence.Entity
@javax.persistence.Entity( name = "Parent" )
public static class Parent {
@Id
@ -79,7 +79,7 @@ public class BidirectionalOptionalOneToOneTest
}
@javax.persistence.Entity
@javax.persistence.Entity( name = "Child" )
public static class Child {
@Id