ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Lamey <cla...@localmatters.com>
Subject Re: Default Transaction Manager
Date Wed, 23 Jan 2008 21:56:05 GMT
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, "venkatesh_ngl@rediffmail."
<venkatesh_ngl@rediffmail.com> 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 ?
> 


Mime
View raw message