Hibernate 3.1.1 Released

Hibernate is a powerful, high performance object/relational persistence and query service.


Hibernate 5 JPA Configuration Hibernate 5 persistence.xml example Hibernate 5 JPA Tutorial Hibernate and JPA Example How properties of a class are mapped to the columns of a database table in Hibernate? Hibernate 5 Annotations Maven dependency Hibernate 5 annotationconfiguration Doctype Hibernate-configuration 5 Hibernate 5 Dialect Hibernate 5 configuration dtd Hibernate 5 Hello World Getting started with Hibernate 5 Hibernate 5.2.10 jar Download Hibernate 5.2.10 Maven Dependency Hibernate 5 Maven Dependency Hibernate 5 native query example Hibernate 5 query deprecated When should you use Hibernate? What's new in Hibernate 5? How much time it takes to learn Hibernate? Hibernate envers custom revinfo table Hibernate 5 Envers Hibernate Envers get all revisions Hibernate Examples Hibernate 5 build SessionFactory Example Hibernate 5 SessionFactory Example Hibernate 5 Annotation Example How to download Hibernate 5.x? Hibernate 5 Features Hibernate 5 Tutorials Learning Hibernate ORM - Free Training/Tutorial videos of Hibernate ORM with Java How to write hello world example program in Hibernate? How to create one to one relationship in Hibernate 4 with Annotation? How to calculate minimum in Hibernate using the min() Function Hibernate ORM 4.2.21.Final Released - Create CURD application in latest Hibernate Hibernate ORM 4.2.21 Tutorial - Learn Hibernate ORM Framework Hibernate Error: Failed to create sessionFactory object.java.lang.NoClassDefFoundError How to create Hibernate Project in Eclipse? Examples of Hibernate Criteria Query Hibernate ORM 4.3.6.Final released

Hibernate 3.1.1 Released

Back to Hibernate Tutorials Page

Hibernate is a powerful, high performance object/relational persistence and query service. Hibernate lets you develop persistent classes following object-oriented idiom - including association, inheritance, polymorphism, composition, and collections. Hibernate allows you to express queries in its own portable SQL extension (HQL), as well as in native SQL, or with an object-oriented Criteria and Example API.

Hibernate 3.1.1 has been released with new features and promises on Jan 13, 2006. This maintenance release focused on bug fixes and improvements, especially regarding:

  • SQL Server support
  • Native Query support
  • Connection handling


  • DML-style HQL queries and associations
  • FORWARD_ONLY ScrollableResults#next() throw GenericJDBCException
  • Set entity in HQL query without prefix -> incorrect SQL
  • Session.createFilter(...).iterate() results in bogus column names for result set extraction
  • float/double literals not sent to the database correctly
  • SchemaUpdate : java.sql.SQLException: You cannot commit during a managed transaction!
  • org.hibernate.util.SimpleMRUCache keeps a soft reference to the cache key, so cached values get collected prematurely
  • ForeignGenerator does not handle transient entities with an entity-name properly
  • Mapped <component> generated column names incorrect with ImprovedNamingStrategy
  • HQL delete statement problem due to oracle lacking table aliases in delete clause
  • creating temporary table for bulk delete will commit current transaction in managed environment such as J2EE


  • Native SQL return-property mapping doesn't support dot-syntax in return-property for components
  • Defensive checking of session status
  • query.getReturnTypes inconsistent
  • better handling of borrowed connections in non-ON_CLOSE release semantics
  • schemaupdate does not handle TableHiLoGenerator
  • empty property name in mapping file gives imcomprehensible error message
  • ANSI-SQL trim function for SQLServer
  • ANSI-SQL mod function for SQLServer
  • ANSI-SQL bit_length function for SQLServer
  • <return-scalar name="blah"/> should be possible
  • set autodiscovery flag for SQLQueries when resultsetmappings are used
For more details check out the release notes.

Hibernate 3.1 introduced non OLTP features as well as better environment integration:
  • Custom strategy for session handling through CurrentSessionContext including 2 default implementations (JTA based and ThreadLocal based session handling)
  • more natural and aggressive connection handling in J2EE and J2SE environments
  • command-oriented API (StatelessSession API) for operations on huge number of objects
  • bulk UPDATE, DELETE, INSERT INTO ... SELECT for multi-table entities
  • "extra lazy" collections for huge collection handling
  • use of join fetch on collection through scrollable resultsets through break processing
  • database generated properties (including database timestamps)
  • additional ON clauses for joins
  • dirty checking short-cuts for instrumented classes
Hibernate 3.1.1 can be downloaded from here.
Share on Google+Share on Google+

Hibernate 3.1.1 Released

Posted on: February 1, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles



Discuss: Hibernate 3.1.1 Released   View All Comments

Post your Comment

Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
June 10, 2012
using for study

i am learn to hibernet.
July 22, 2013
test subject