from : Hibernate In Action:The load() method is older; get() was added to Hibernate’s API due to userrequest. The difference is trivial:■ If load() can’t find the object in the cache or database, an exception isthrown. The load() method never returns null. The get() method returnsnull if the object Read More
Hibernate created a new language named Hibernate Query Language (HQL), the syntax is quite similar to database SQL language. The main difference between isHQL uses class name instead of table name, and property names instead of column name.HQL is extremely simple to learn and use, and the code is al Read More