Friday 29 November 2013

[Java] Hibernate basics with Eclipse

This entry proxies for a series of tutorials which introduces the basics of Hibernate for utter beginners. I only assume that the reader have a grasp of the Java and SQL semantics. Obviously, there is more to Hibernate than we have covered in these tutorials. A good sequel for these tutorials would cover the use of annotations to describe entity classes and their attributes. Other related entries would include lazy initialization, caching and some other mechanics regarding the use of Session objects, as well as the integration of Hibernate in enterprise applications.
It is worth mentioning that these tutorials are basically my notes when I was learning Hibernate.

Wednesday 13 November 2013

[Java] Hibernate query basics

Once links are established between the database and persistent entities, it is perfectly normal to save, modify and query the collections of data.
This is a tutorial for first-timers in which basic query mechanics in Hibernate will be discussed.
For further examples using Hibernate, check the following tutorials: