0 votes
in Hibernate by

Differentiate between get() and load() in Hibernate session 

1 Answer

0 votes
by

The get() method retrieves an object from the database by its primary key and throws an exception if the object is not found. The load() method is also used to retrieve an object from the database by its primary key, but it returns a proxy object if it is not found. 

...