Class Inventory


  • @Entity
    public class Inventory
    extends Object
    This class is used as an example of a @OneToMay, using a join table. In this example, the Inventory has a OneToMany relationship with Media. The navigation is uni-directional from Inventory to Media and the MEDIA table has no foreign key to reference the INVENTORY table. An INVENTORY_MEDIA join (or link) table is used to make the linkage.
    • Constructor Detail

      • Inventory

        public Inventory()
      • Inventory

        public Inventory​(long id)