Take advantage of the things SQL
databases do well, without leaving the Java language of
objects and classes.
ORM real goal:
Do less work and have a happy DBA.
is an open
source ORM toolkit for the Java
language, providing a framework for mapping an object
oriented domain model to a traditional relational
Extensible Markup Language
) is a human readable
way of describing structured data.
XML is made up of tags enclosing text:
Mapping Java classes to database table is accomplished
through the configuration of an XML file.
Structured Query Language
) is a standard language
for accessing and manipulating relational databases.
SQL queries allow the user to specify a description of the
desired result set:
SELECT title, price
WHERE price >
ORDER BY title
SQL is designed for the retrieval and management of data in
database and database schema creation and
Hibernate query options
Hibernate Query Language (HQL)
oriented dialect of ANSI SQL
Criteria Queries (QBC)
extensible framework for query objects
includes Query By Example (QBE)
Native SQL queries
SQL queries may be defined and called exactly HQL
Persistence for POJOs (JavaBeans)
Flexible and intuitive mapping
Support for fine
grained object models
Powerful, high performance queries
Layer Caching Architecture (HDLCA)