users@glassfish.java.net

Using Hibernate on Glassfish?

From: Laird Nelson <ljnelson_at_gmail.com>
Date: Mon, 2 May 2011 11:46:40 -0400

Hello; I am looking for the latest and greatest document regarding the
proper way to install Hibernate into Glassfish for all applications deployed
on the application server.

This question (
http://stackoverflow.com/questions/594079/is-it-possible-to-use-hibernate-as-glassfishs-persistence-provider)
seems to indicate that (a) this information used to exist, (b) may exist
again and (c) changes on a regular basis.

The package that is in the Update Center is woefully out of date and among
other things deploys a version of Hibernate that does not respect JPA 2.0
JPQL, so that's not an option.

I've been told not to simply dump Hibernate and its dependencies into the
domain/lib directory, which I am loathe to do anyway.

I am looking for "official" information, not speculation.

Thanks,
Laird