ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Kriesten <kries...@mail.footprint.de>
Subject Re: Using iBatis outside servlet container
Date Fri, 30 Jan 2009 09:43:02 GMT

Hi,

> What do I have to do in order to provide a data source to iBatis?

use

<transactionManager type="JDBC">
  <dataSource type="SIMPLE">
    <property name="JDBC.Driver" value="..."/>
    ...
  </dataSource>
</transactionManager>

in your sqlMapConfig. You're not bound to JNDI with iBATIS.

Best regards, --- Jan.



Mime
View raw message