users@glassfish.java.net

Re: Replacing Glassfish EJB implementation with Hibernate or OpenEJB

From: Noah White <emailnbw_at_gmail.com>
Date: Wed, 15 Feb 2012 20:15:38 -0500

On Feb 15, 2012, at 8:08 PM, Laird Nelson wrote:

> On Wed, Feb 15, 2012 at 4:07 PM, <forums_at_java.net> wrote:
> The Glassfish JPA and EJB implementations have some serious problems:
>
> http://java.net/jira/browse/GLASSFISH-1836 [1]2
>
> Unless I'm missing something this one is marked as fixed?

Seems to be fixed and filed against a very old v2 version of GF.

>
> http://java.net/jira/browse/GLASSFISH-18365 [2]
>
> The updatetool allows replacing the EclipseLink JPA implementation with
> Hibernate JPA, but that leads to the second problem above which looks like it
> is in the Glassfish EJB container.
>
> I can't speak to the above bug, but another thing is that the Hibernate updatecenter package is version 3.5.0-Final, which has all sorts of problems and is not fully JPA 2.0-compliant.
>
> I've been engaged in a (um, very slow :-)) process to try to get my hibernate-ips project (http://github.com/ljnelson/hibernate-ips) pulled in to Glassfish in a more official capacity, so that as Hibernate "evolves" (read: changes wildly with little thought to backwards compatibility or dependencies), it can be upgraded via the updatecenter.
>

Yes, I suspect he might be better off coming up with a work around for the second issue vs. trading things in for other impls. which have their own set of different problems (devil you know vs. the devil you don't).

-Noah