Class OneManyOwningParent


  • @Entity(name="O2MOwningParent")
    public class OneManyOwningParent
    extends Object
    This class implements a parent in a OneToMany, uni-directional relationship test case. We are looking to see where the foreign key gets placed; in a link/join table or the child side of the relationship. The child class knows nothing of this relationship.

    This is the schema when nothing besides @OneToMany is defined

    • Constructor Detail

      • OneManyOwningParent

        public OneManyOwningParent()
      • OneManyOwningParent

        public OneManyOwningParent​(long id)
      • OneManyOwningParent

        public OneManyOwningParent​(String name)