We will create five model classes mapping to our database tables, please download here: Java Class Files Table Name Address.java ADDRESS Customer.java CUSTOMER Orders.java ORDERS Product.java PRODUCT Shop.java SHOP Nil   We don’t need to create a model class for this table. But, we will use @ManyToMany annotation in Orders.java to state this join table