/Hibernate-Many-to-Many-Unidrectional-Associations

In Hibernate , many to many mapping, various attributes can be referred to many attributes

Primary LanguageJava

Hibernate-Many-to-Many-Unidrectional-Associations

In hibernate , many to many mapping, various attributes can be referred to many attribute. In this example, many persons can book many cabs

Tools and Technologies used

  1. Eclipse IDE
  2. Maven 4.0
  3. MySQL 8.0
  4. Hibernate
  5. Java

In Eclipse IDE (Project Explorer)

Capture

In MySQL (All Tables)

Capture1

Person Table

image

Cab Table

image

foreign key generated between person and cab

image