Hibernate (Java) Question:
Download Job Interview Questions and Answers PDF
What does it mean to be inverse?
Answer:
It informs hibernate to ignore that end of the relationship. If the one–to–many was marked as inverse, hibernate would create a child–>parent relationship (child.getParent). If the one–to–many was marked as non–inverse then a child–>parent relationship would be created.
Download Hibernate Interview Questions And Answers
PDF
Previous Question | Next Question |
Define cascade and inverse option in one-many mapping? | What do you mean by Named - SQL query? |