As I remember, if you're using the Spring SqlMapClientTemplate, iBATIS will
assume you're using an EXTERNAL transaction manager.  So whatever you have
defined (or don't have defined in your case) in the sql-map-config.xml will
be ignored.

On 1/23/08 12:50 PM, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:

> 
> Hi,
> 
> I  am using IBATIS w/ Spring and wanted to know what would be the default
> transaction manager  if there is one not defined in sql-map-config.xml.
> 
> All I have is 
> 
> <?xml version="1.0" encoding="UTF-8" ?>
> <!DOCTYPE sqlMapConfig PUBLIC "-//iBATIS.com//DTD SQL Map Config 2.0//EN"
> "http://www.ibatis.com/dtd/sql-map-config-2.dtd";>
> 
> <sqlMapConfig>
> 
> <settings
> cacheModelsEnabled="true"
> enhancementEnabled="true"
> lazyLoadingEnabled="true"
> maxRequests="10"
> maxSessions="1"
> maxTransactions="5"
> useStatementNamespaces="false"
> />
> 
> <typeAlias alias="abc" type="com.abc.bbc"/>
> 
>     <sqlMap resource="/WEB-INF/abc.xml"/>
> 
> </sqlMapConfig>
> 
> Would container manager transaction come into affect if nothing is defined
> in sql-map-config.xml ?
> 

Reply via email to