Tag: hibernate relations
Hibernate Relationships In Depth
Using hibernate, if we want to put relationship between two entities , then in the database tables, there must exist foreign key relationship, we call it as Referential integrity. The main advantage of…
Hibernate One to Many Mapping Insert Query Example
One-to-Many: according to database terminology, one row of table related with multiple rows of other table According to hibernate, one object of one pojo class related to multiple objects of other pojo I mean, one to many…
Hibernate Many to One Mapping Insert Query Example
Let us see how to achieve hibernate many to one mapping with insert query, just go through few points before we start the example In the many to one relationship, the relationship is applied from child object to parent…
Hibernate One to One Mapping Example
Let us see few points regarding this one to one mapping.. One object is associated with one object only In this relationship, one object of the one pojo class contains association with one object of the another pojo class…