Hibernate Tutorial «Prev  Next»

Features of Hibernate

Transparent persistence without byte code processing

  1. JavaBeans style properties are persisted
  2. No build-time source or byte code generation / processing
  3. Support for extensive subset of Java collections API
  4. Collection instance management
  5. Extensible type system

   Constraint transparency
  Automatic Dirty Checking
  Detached object support
 Object-oriented query language
  Powerful object-oriented query language
  Full support for polymorphic queries
  New Criteria queries
  Native SQL queries
 Object / Relational mappings
  Three different O/R mapping strategies
  Multiple-objects to single-row mapping
  Polymorphic associations
  Bidirectional associations
  Association filtering
  Collections of basic types
  Indexed collections
  Composite Collection Elements
  Lifecycle objects
 Automatic primary key generation
  Multiple synthetic key generation strategies
  Support for application assigned identifiers
  Support for composite keys
 Object/Relational mapping definition
  XML mapping documents
  Human-readable format
  XDoclet support
 HDLCA (Hibernate Dual-Layer CacheArchitecture)
  Thread safeness
  Non-blocking data access
  Session level cache
  Optional second-level cache
  Optional query cache
  Works well with others
 High performance
  Lazy initialization
  Outer join fetching
  Batch fetching
  Support for optimistic locking withversioning/timestamping
  Highly scalable architecture
  High performance
  No "special" database tables
  SQL generated at system initialization time
  (Optional) Internal connection pooling andPreparedStatement caching
 J2EE integration
  JMX support
  Integration with J2EE architecture (optional)
  New JCA support