ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: how can i use previous version datasource-type setting
Date Mon, 26 Sep 2005 14:29:17 GMT
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 <tomasblue@gmail.com> 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=jdbc:hsqldb:mem:pf
> #url=jdbc:hsqldb: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.
>

Mime
View raw message