Hello Aleksej,

The example in HiveTranse quickstart is just an example which is based on
commons-dbcp "BasicDataSource".
If you take a look at commons-dbcp javadoc, you will see they provide other
kinds of DataSource, in particular "SharedPooledDataSource" which takes its
Connection from JNDI (as per the javadoc). It seems to have all necessary
setters for JNDI context configuration directly from a hivemind xml file.
I think it would be worth a look.

Cheers

Jean-Francois

-----Original Message-----
From: Aleksej [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 20, 2006 2:55 PM
To: hivemind-user@jakarta.apache.org
Subject: Hivetranse: How to configure transaction demarcation for existing
datasource?

Hivetranse quick start describes only how to create datasource for 
application,
but it is not an option in my case ( more than one webapp uses the same 
DB ).
For Hibernate I just specified Tomcat's datasource in hibernate config, 
but how
to do the same think for simple JDBC transaction?


Reply via email to