users@glassfish.java.net

Re: [hibernate EntityManager] No suitable driver found for jdbc:postgresql://localhost:5432/omar4

From: Farrukh Najmi <farrukh_at_wellfleetsoftware.com>
Date: Tue, 26 Jan 2010 08:45:02 -0500

Dominik Dorn wrote:
>> rm antlr-2.7.6.jar commons-collections-3.1.jar dom4j-1.6.1.jar
>> hibernate3.jar javassist-3.9.0.GA.jar slf4j-*
>>
> you could have also simply set the scope of these dependencies in your
> pom.xml to "provided".
>

That is true. But my reason for not wanting to do that is that my
version of hibernate stack is much newer than what Glassfish hibernate
support module installs.
Doing it in the war lets me control the precise version of hobernate and
its dependencies.

-- 
Regards,
Farrukh
Web: http://www.wellfleetsoftware.com