ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rafiq, Adnan" <ara...@carreker.com>
Subject Variable Substitution in sqlmap xml file
Date Wed, 25 Oct 2006 13:31:38 GMT
The sqlmap.xml file in our application uses variable substitution for
some values:

<transactionManager type="${db.tx.manager}">
	<dataSource type="${db.datasource.type}">
       <property name="DataSource" value="${db.datasource}" />

In this case, I understand that the 'value' attribute is
substitution-enabled, but the type attribute is not. Our products are
installed at different locations and sometimes they run in an
application server whereas at other times they run in a standalone jvm.
Thererfore, our transaction manager and datasource type has to be
re-configured   based on our environments. Besides, I have extended the
default EXTERNAL tx manager according to our specific needs.

Is it possible to use variable substitution for the type attribute as


- Adnan Rafiq
Carreker Corporation 

-----Original Message-----
From: soussou97 [mailto:dboussebha@yahoo.fr] 
Sent: Wednesday, October 25, 2006 8:00 AM
To: user-java@ibatis.apache.org
Subject: Ibatis example


I search a good design using Ibatis as persistence framework (I have
already studied JPetStore-5.0 example).

View this message in context:
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

View raw message