ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Tan <erictan...@yahoo.com.sg>
Subject How to set connection isolation level with iBatis DAO and SQL Mapper framework?
Date Fri, 12 May 2006 09:18:08 GMT

I am trying out iBatis DAO and SQL Mapper framework in WebLogic 8.1 server.

My dao.xml and sql-map-config.xml are configured as follows:

    <transactionManager type="SQLMAP">
      <property name="SqlMapConfigResource" value="....l/sql-map-config.xml"/>

  <transactionManager type="JDBC">
    <dataSource type="JNDI">
      <property name="DataSource" value="java:comp/env/jdbc/myappdb"/>

Since I am getting my data source from WebLogic through JNDI, how can I set the connection
isolation level (eg. Connection.TRANSACTION_SERIAZABLE) within the iBatis DAO and SQL Mapper

What is the correct way of doing it?

Thanks in advance,

Meet your soulmate!
 Yahoo! Asia presents Meetic - where millions of singles gather 
View raw message