Register / Login
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
Object Relational Mapping
Hibernate - SaveorUpdate
posted 8 years ago
I am analyzing some third party hibernate code. I can't execute it to
. I Need some inputs for help.
I have a parent-child mapping defined in the hbm.xml files.
And few other setter for parent.
But in the end, the data is commited using the statement
" getSession().saveOrUpdate(Parent.getChild()); "
is this code fine ?.. will it commit the child details to db or the parent details also ?
Boost this thread!
Problem in updating the values with Hibernate
How does Hibernate get child objects
Problem with read-write cache
Please help: What is the best strategy to update the DB using a detached object?
Hibernate Mapping help required