Class OneToManyJoinTableTest


  • public class OneToManyJoinTableTest
    extends DemoBase
    This test case provides a demo of a OneToMany relationship using a Join (or Link) table. In this relationship, the foreign keys are in a table separate from the two related items.
    • Constructor Detail

      • OneToManyJoinTableTest

        public OneToManyJoinTableTest()
    • Method Detail

      • testOneToManyJoinCreate

        public void testOneToManyJoinCreate()
      • testOneToManyJoinFind

        public void testOneToManyJoinFind()
      • testOneToManyJoinRemove

        public void testOneToManyJoinRemove()
      • findMedia

        private void findMedia​(Collection<ejava.examples.orm.rel.annotated.Media> media,
                               boolean exist)