644071 members! Sign up to stay informed.

Sponsored Links


Resources

Enterprise Java
Research Library

Get Java white papers, product information, case studies and webcasts

News News News Messages: 6 Messages: 6 Messages: 6 Printer friendly Printer friendly Printer friendly Post reply Post reply Post reply XML XML XML

Hibernate 3.2 released, certified JPA compatible

Posted by: Joseph Ottinger on October 16, 2006 DIGG
JBoss has released Hibernate 3.2, their popular persistence engine, now certified compliant with the Java Persistence API. In addition to JPA compliance, hibernate adds new query capabilities, declarative data filters, and optimistic locking in a cluster with JBoss Cache.

The Hibernate 3.2 release includes:
  • Hibernate Core is the full featured, high performance object/relational persistence and query service that popularized object/relational mapping for Java. Hibernate relieves developers from 95 percent of common data persistence related programming tasks, compared to manual coding with SQL and the JDBC API. Hibernate Core offers a powerful native data management and query API, and object/relational mapping with XML metadata. Hibernate Core requires JDK 1.3 or greater and works with any J2EE 1.4 or Java EE 5.0 application server.
  • Hibernate Annotations offers several packages of JDK 5.0 code annotations that developers can use to map classes, as a replacement or in addition to XML metadata. Hibernate Annotations supports standard Java Persistence object/relational mapping annotations, native Hibernate extension annotations, and declarative data integrity rule definition and validation with the Hibernate Validator framework. Hibernate Annotations requires JDK 5.0.
  • Hibernate EntityManager implements the Java Persistence programming interfaces, object lifecycle rules, and query options as defined by Java Specification Request 220 (EJB 3.0). Combined with Hibernate Annotations, this wrapper offers a complete Java Persistence provider on top of the mature and powerful Hibernate Core. The Hibernate Java Persistence provider is the default Java Persistence provider of the JBoss EJB 3.0 implementation. Additionally, it can be used inside any other Java EE 5.0 application server or standalone with JDK 5.0.

Threaded replies

·  Hibernate 3.2 released, certified JPA compatible by Joseph Ottinger on Mon Oct 16 10:13:18 EDT 2006
  ·  Re: Hibernate 3.2 released, certified JPA compatible by Roland Altenhoven on Tue Oct 17 02:25:23 EDT 2006
  ·  Re: Hibernate 3.2 released, certified JPA compatible by Michael McCutcheon on Wed Oct 18 00:51:43 EDT 2006
    ·  Re: Hibernate 3.2 released, certified JPA compatible by Wesley Hall on Wed Oct 18 04:42:35 EDT 2006
      ·  Re: Hibernate 3.2 released, certified JPA compatible by Michael McCutcheon on Wed Oct 18 09:19:52 EDT 2006
      ·  Re: Hibernate 3.2 released, certified JPA compatible by Doug Clarke on Wed Oct 18 13:19:04 EDT 2006
  ·  Re: Hibernate 3.2 released, certified JPA compatible by Dorel Vaida on Wed Oct 18 01:59:41 EDT 2006
  Message #220447 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Hibernate 3.2 released, certified JPA compatible

Posted by: Roland Altenhoven on October 17, 2006 in response to Message #220401
Congrat for the finally releases of 3.2.

It is much to be hoped, that some existing minor (but sometimes a little bit painful) problems of Annotations and JPA are now solved with 3.2 ...

Hibernate and JPA, Annotations rocks ...

Roland
SOA Kompetenznetzwerk
Information & Collaboration Portal

New Look & Feel and advanced Information- & Collaboration Strategy are upcoming, soon ...

  Message #220521 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Hibernate 3.2 released, certified JPA compatible

Posted by: Michael McCutcheon on October 18, 2006 in response to Message #220401

For JPA, which is better, Hibernate or Toplink Essentials?

What are the differences between the two as it relates to JPA?

Which works better with Derby?

Mike

  Message #220523 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Hibernate 3.2 released, certified JPA compatible

Posted by: Dorel Vaida on October 18, 2006 in response to Message #220401
Excellent news, congrats to the Hibernate team.

  Message #220526 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Hibernate 3.2 released, certified JPA compatible

Posted by: Wesley Hall on October 18, 2006 in response to Message #220521
For JPA, which is better, Hibernate or Toplink Essentials?


In my experience, Hibernate. Although Toplink does seem to be a functional implementation of the spec, what we found was that if something in the spec was marked as 'optional' (and some of these 'optional' features are quite useful) then Toplink essentials probably didn't support it, whereas Hibernate did.

I guess if you want to remain entirely portable then you don't want to be using optional features, but working around the gaps in the implementation in a portable way can be lots of extra work for the developer.

The features in Hibernate became so important for us that we actually replaced the default Toplink based EntityManager with Hibernate in Glassfish.

YMMV.

  Message #220533 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Hibernate 3.2 released, certified JPA compatible

Posted by: Michael McCutcheon on October 18, 2006 in response to Message #220526
For JPA, which is better, Hibernate or Toplink Essentials?


In my experience, Hibernate. Although Toplink does seem to be a functional implementation of the spec, what we found was that if something in the spec was marked as 'optional' (and some of these 'optional' features are quite useful) then Toplink essentials probably didn't support it, whereas Hibernate did.

I guess if you want to remain entirely portable then you don't want to be using optional features, but working around the gaps in the implementation in a portable way can be lots of extra work for the developer.

The features in Hibernate became so important for us that we actually replaced the default Toplink based EntityManager with Hibernate in Glassfish.

YMMV.


Which optional features are you referring to?

Mike

  Message #220558 Post reply Post reply Post reply Go to top Go to top Go to top

Re: Hibernate 3.2 released, certified JPA compatible

Posted by: Doug Clarke on October 18, 2006 in response to Message #220526
The JPA spec describes some features as being optional (implementations are not required to support them), but there are also a number of features that are not yet included in JPA but that are still useful to some users. These will hopefully be included in future versions of the spec.

The point is that the EJB 3.0 expert group had to try to decide on and describe the most useful features to standardize to satisfy the most people. Being the Reference Implementation of JPA and on the same release schedule as the spec, TopLink Essentials had to follow the same kind of plan and we chose to support the features that we saw as being the most important, some of which were listed as optional and some of which were not mentioned in the spec at all. Some of these features are supported by Hibernate and some are not. Likewise there are some features that Hibernate feels are important value add for its customers that we do not share.

This thread is supposed to be dedicated to celebrating the fact that Hibernate has now achieved JPA compliance, allowing people to write the same code in Hibernate to work on any JPA vendor, not to highlight the non-standard features between implementations.

Congrats to the Hibernate team for reaching this milestone.

Doug Clarke
Product Manager
Oracle TopLink JPA

New content on TheServerSide.comNew content on TheServerSide.comNew content on TheServerSide.com

Pondering About JSR-135, the New Servlet 3.0 Specification

Roy van Rijn points out a potential flaw in the upcoming Servlets 3.0 specification, and proposes a different approach. (December 1, Article)

A Scalable, Transactional Data Store for Web 2.0 Services

The authors describe the Scalaris system, which provides a comprehensive solution for self managing, scalable data management. (November 25, Article)

GMaps4JSF with Ajax PUSH

Hazem Saleh follows up his article on GMaps4JSF with an approach to displaying Google maps in a Comet architecture. (November 11, Article)

Intercepting JNDI Filters

Bahar Limaye describes how to intercept JNDI filters so that you can make changes to a system without side effects. (November 3, Article)

Java, .Net and C++ Objects in Coherence 3.4

Cameron tells us about important new features such as: Cross-platform support for Java, .Net, and C++ objects; Data grid triggers; and Event transformers. (October 23, Tech Brief)

BDoc - Supporting Behavior-Driven Development

Per Otto Bergum Christensen introduces the community to Bdoc, a framework for generating documentation from tests. (October 20, Article)

An Introduction to GMaps4JSF

Here Hazem Saleh shows an example of how to use it to view the streets of the places you navigate to. (October 17, Article)

Direct Ajax - Goodbye to Ajax Deadly Sins

Author Robbie Cheng outlines a programming model that he calls Direct Ajax that addresses some of the deficiencies of the traditional Ajax approach to communications between the client and server. (October 14, Article)

New Features in EJB 3.1 - Part 5

In this last article of the series, Reza Rahman will talk about standardized global JNDI names for Session Beans and EJB 3.1 Embeddable Containers for Java SE environments. (October 8, Article)

A RESTful Core for Web-like Application Flexibility - Part 4 - Patterns

Randy Kahle and Tom Hicks conclude their four-part series on resource-oriented computing by describing how to utilize a RESTful kernel to design and build software systems. (October 6, Article)

UseMon Real-Time JVM Monitoring

Paul Rene Jørgensen talks about UseMon, an efficient, open-source, real-time JVM performance monitoring agent. (October 2, Tech Brief)

Extreme Transaction Processing, Low Latency and Performance

In this podcast, John Davies will cover several case studies of extreme transaction processing, low latency and high performance systems and offer insight into what we might expect to see in mainstream in the near future. (September 29, Podcast)

OpenESBs in Action

Learn about Mule, ServiceMix, Synapse, Petal and other OpenESBs in Action from authors Tijs Rademakers and Jos Dirksen - Tech Brief about their new book. (September 24, Tech Brief)

Getting Started with jBPM and Spring

Josh Long looks at business process management using jBPM and Spring to implement a simple multi-stage operation. (September 22, Article)

Java Performance Tooling

In this podcast, Holly Cummins will introduce a number of tools for identifying and fixing common Java performance problems. (September 17, Podcast)

Terracotta Brings Large Memory Spaces to Java

In this podcast, TheServerSide.com editor Peter Varhol asks Terracotta CTO Ari Zilka about how the software works and what it can be used for. (September 15, Podcast)

Object Oriented JavaScript Demonstrated

In this chapter from his book Object-Oriented JavaScript, author Stoyan Stefanov talks about primitive data types in JavaScript as a prelude to discussing more complex concepts. (September 12, Chapter)

The JSF Flex Project

The JavaServer Faces Flex project lets developers unfamiliar with Flex create JavaServer Faces components to link Flex UIs to managed beans in the same manner as JSF. (September 8, Article)

What is an App Server?

Joseph Ottinger notes that we have certain preconceived notions as to what an app server is and does, and argues that we should rid ourselves of those notions. (September 2, Article)

Free Book PDF Download: Mastering EJB Third Edition

Mastering EJB was one of the original and most influential EJB books in the industry. Mastering EJB III now returns with two new expert co-authors, updated for EJB 2.1 and 30% new chapters including security, integration, best practices, open source, and more.
(Book PDF Download)

Application Server Matrix

The Application Server Matrix is a detailed listing of J2EE vendors and their application server products, with information on latest version numbers, J2EE spec support and licensing, pricing, platform support, and links to product downloads and reviews.
(Application Server Comparison Matrix)

News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
All Content Copyright ©2007 TheServerSide Privacy Policy
Site Map