Might be a bug...do you get an exception when you try to use this? If so, please post it here.

Clinton

On 9/25/05, kiyool yoon <[EMAIL PROTECTED]> wrote:
hi~
 
I'm using iBATIS_DBL-2.0.8.470
this version can use following property setting
 
  <transactionManager type="${transaction-manager-type}">
 <property name="UserTransaction" value="${user-transaction}"/>
    <dataSource type="${data-source-type}"> //here ... why can't use new version??
      <property name="DataSource" value="${data-source}"/>
      <property name="JDBC.Driver" value="${driver}"/>
      <property name="JDBC.ConnectionURL" value="${url}"/>
      <property name="JDBC.Username" value="${username}"/>
      <property name="JDBC.Password" value="${password}"/>
    </dataSource>
  </transactionManager>
 
but when i upgrade version iBATIS_DBL-2.1.5.582
 i can't use this property setting.
 
i must use dynamic data-souce-type replacement
this method is very useful for me.
 
=============================1
[test-sql-map-conf.properties]
transaction-manager-type=JDBC
data-source-type=SIMPLE
 
driver=org.hsqldb.jdbcDriver
url="">#url="">hsql://localhost/xdb
username=sa
password=
 
stopOnError=true
 
==============================2
[sql-map-conf.properties]
transaction-manager-type=JDBC
data-source-type=JNDI
user-transaction=javax.transaction.UserTransaction
data-source=DB2Ds
 
please help anyone has solution about this problem.

Reply via email to