hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Francois Poilpret" <jfpoilp...@hcm.vnn.vn>
Subject RE: Hivetranse: How to configure transaction demarcation for existing datasource?
Date Thu, 20 Jul 2006 13:28:29 GMT
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:aleksej@ivs.lt] 
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?



Mime
View raw message