Tag: relationships
Hibernate Relationships In Depth
by  Java4s | 16 Comments
  [ Ask Question ]
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 Select Query Example
by  Java4s | 10 Comments
  [ Ask Question ]
Let us see the logic for hibernate one to many mapping select query, hibernate one to many select means, if you select the parent object then automatically its corresponding child objects will also be selected, see i have given…
Hibernate One To Many Bidirectional Mapping Example
by  Java4s | 5 Comments
  [ Ask Question ]
Let us see how to achieve, Bidirectional one to many mapping in hibernate… Actually in normal one to many, the relation is from parent to child i mean if we do the operations on parent object will be automatically…