ArticlesProjectsWeeklyCredentialsAbout

Hibernate Mapping and Session Examples

A Hibernate 2.x mapping file, POJO entity class, and Session usage for loading, saving, and querying — the complete working example from the article.

hibernatejavaorm

Hibernate mapping XML, plain POJO, and HQL queries — the full persistence stack without EJB.

Source code
# Hibernate 2.x Example

Requires `hibernate2.jar` and `mysql-connector.jar`.