Query Cache in Hibernate

Let us understand the Query Cache We know that, Query cache will cache the results of the query against the object. If we have queries which runs multiple times with the same parameters then Query caching is best to use to avoid multiple DB calls. Let us see complete project on Hibernate Query cache Step […]

Share this article on

Merge vs Update in Hibernate with example

Let us understand Merge and Update in Hibernate The most important and frequently asked question in Hibernate is the difference between merge and update methods and often we can notice that developers use update() and merge() methods alternatively. Let’s understand the use of merge() and update() methods with example We know that both merge() and […]

Share this article on
Next >