2009/11/19 dileep <[email protected]>:
>
> Hi Rafal,
>
> Following are the details:
>
> Tomcat Version  : 5.5
> Deployment Type : ode.war
> DB              : oracle 9i
>
> I also tried to switch to hibernate by specifying the dialect and factory in
> ode-axis2.properties file.However I stared to see a lot of exceptions(I will
> have to sit and reproduce those).Hence I thought of using open JPA.
>
> Have you tried any of the combinations with success:
>
> Oracle + ode + tomcat + JPA   ??
> Oracle + ode + tomcat + Hibernate ??

Actually no. But it should work without problems on tomcat with
hibernate dao and INTERNAL connection pool.
You may get some errors due to not included hibernate.jar with deps.
To include it, please apply attached patch.
Note that we can't include it into Apache distribution due to LGPL licensing.

Regards,
-- 
Rafał Rusin
http://rrusin.blogspot.com
http://www.touk.pl
http://top.touk.pl
diff --git a/Rakefile b/Rakefile
index 2bf3bd9..f96e580 100644
--- a/Rakefile
+++ b/Rakefile
@@ -195,7 +195,10 @@ define "ode" do
       JAVAX.connector, JAVAX.jms, JAVAX.persistence, JAVAX.transaction, JAVAX.stream,  JIBX,
       GERONIMO.connector, GERONIMO.kernel, GERONIMO.transaction, LOG4J, OPENJPA, SAXON, TRANQL,
       WOODSTOX, WSDL4J, WS_COMMONS, XALAN, XERCES, XMLBEANS,
-      AXIS2_MODULES.libs
+      AXIS2_MODULES.libs,
+      DOM4J,
+      HIBERNATE
+
 
     package(:war).with(:libs=>libs).path("WEB-INF").tap do |web_inf|
       web_inf.merge project("dao-jpa-ojpa-derby").package(:zip)

Reply via email to