Frameworks| Hibernate| Struts| JSF| JavaFX| Ajax| Spring| DOJO| JDO| iBatis| Questions?

 

 

 

 

 

 

 

 

 

 

 

 

 

Search Tutorials

Latest Questions
Comments
 
Hibernate 3.1.1 Released 
 

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

 

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
  • DML-style HQL (UPDATE, DELETE, INSERT INTO... SELECT)
  • Native Query support
  • Connection handling

Changes:

  • 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

Improvements:

  • 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.
» View all related tutorials
Related Tags: sql c hibernate api com class ant comparison import io property method sed const operators expression operator port criteria name

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

4 comments so far (
post your own) View All Comments Latest 10 Comments:

Windows System Error !

Posted by Patipan on Tuesday, 12.16.08 @ 13:26pm | #82838

please send me a complete example of login form,designed only using struts and hibernate,and not springs.give a detail of accessing data from database using hibernate.

Posted by Monika on Friday, 02.8.08 @ 11:45am | #47590

How can dowmload this

Posted by Ajit kumar on Saturday, 03.31.07 @ 14:35pm | #13073

does hibernate3.1 supports distributed environment?

Posted by Arun on Monday, 12.18.06 @ 13:16pm | #1186

Training Courses
Tell A Friend
Your Friend Name
Software Solutions
Least Viewed
Most Rated
Recently Viewed
Search Tutorials

 

 
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Indian Software Development Company | iPhone Development Company in India | Flex Development Company in India | Java Training Delhi | Java Training at Noida |

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2008. All rights reserved.