On Tue, May 3, 2011 at 1:28 AM, Richard Kolb <rjdkolb_at_gmail.com> wrote:
> Hi Laird
>
> On 2 May 2011 17:46, Laird Nelson <ljnelson_at_gmail.com> wrote:
>
>> 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.
>>
>
> Just have a look out for this. In Glassfish 2.1.1 +
>
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=12812
>
Aha! See, that's exactly what I'm looking for. That bug indicates that
there COULD be dependency problems (Glassfish uses asm version X; Hibernate
uses version Y). Thanks, Richard.
Best,
Laird