Learning the code way
A small step towards sharing what I have learned.
Saturday, 31 March 2012
Merging A Detached Object
›
In an earlier post we saw how to reattach detached objects using update() and lock() . Consider the below code where we try to reattach an...
12 comments:
Monday, 26 March 2012
get() versus load() - The Battle Continues...
›
In the previous two posts we saw the behavior of get() and load() methods and how it differed when session caching came into the picture ....
Saturday, 24 March 2012
get() versus load() - Things Get Murkier
›
In the previous post we saw the real difference between the load and get methods of the session. We saw that load() works with proxies and...
Friday, 23 March 2012
get() versus load()
›
This has to be one of the most popular questions asked in hibernate interviews: What is the difference between get() and load() method ?...
Monday, 19 March 2012
From Detached to Removed
›
In our previous post we saw how to transition a detached object back to a persistent state . Is it possible to delete an entity from the ...
‹
›
Home
View web version