1:47 PM
To: user-java@ibatis.apache.org; user-java@ibatis.apache.org
Subject: RE: Database Blocking
You could do one of two things:
1. You could get the Sql Map Factory Bean from the Spring Context
2. Go through the SqlMapClientDaoSupport class and use the
getSqlMapClient() or getSqlMapClie
qlMap.queryForList("Custom_Queries.selectAddress", params);
Try this!
Christian
From: Reese, Rich R. [mailto:[EMAIL PROTECTED]
Sent: Monday, 04 June 2007 13:12
To: user-java@ibatis.apache.org
Subject: RE: Database Blocking
I don't have any transaction
t use the SqlMapClientBuilder?
From: Poitras Christian [mailto:[EMAIL PROTECTED]
Sent: Monday, June 04, 2007 1:33 PM
To: user-java@ibatis.apache.org
Subject: RE: Database Blocking
I doudt these code lines should be there.
iBATIS is configured by Spring with your configuration.
PROTECTED]
Sent: Mon 6/4/2007 11:42 AM
To: user-java@ibatis.apache.org
Subject: RE: Database Blocking
How do you initialize the sqlMap variable or make a call to the queryForList
method if you don't use the SqlMapClientBuilder?
From: Poitras Christian [m
ECTED]
Sent: Mon 6/4/2007 11:39 AM
To: user-java@ibatis.apache.org
Subject: RE: Database Blocking
Our Abator generated DAOs are extending the
org.springframework.orm.ibatis.support.SqlMapClientDaoSupport class, but our
custom queries do not go through a DAO. They utilize iBATIS directly throu
yForList("Custom_Queries.selectAddress", params);
Try this!
Christian
From: Reese, Rich R. [mailto:[EMAIL PROTECTED]
Sent: Monday, 04 June 2007 13:12
To: user-java@ibatis.apache.org
Subject: RE: Database Blocking
I don't have any transaction calls within my cod
PROTECTED]
Sent: Monday, June 04, 2007 1:26 PM
To: user-java@ibatis.apache.org
Subject: RE: Database Blocking
How are you accessing the code shown in your last post? We are also
using Spring with JBoss, and it works fine for us. We pretty much have
the same thing you have defined in Spring
quot;, params);
Try this!
Christian
From: Reese, Rich R. [mailto:[EMAIL PROTECTED]
Sent: Monday, 04 June 2007 13:12
To: user-java@ibatis.apache.org
Subject: RE: Database Blocking
I don't have any transaction calls within my code. It must be internal
calls w
__
From: Reese, Rich R. [mailto:[EMAIL PROTECTED]
Sent: Mon 6/4/2007 10:11 AM
To: user-java@ibatis.apache.org
Subject: RE: Database Blocking
I don't have any transaction calls within my code. It must be internal calls
within iBATIS. The line of code it fails on within my code is:
InputS
June 04, 2007 11:20 AM
To: user-java@ibatis.apache.org
Subject: RE: Database Blocking
If you want to use Spring transaction, you should let Spring handle them
in all cases.
So it would be better remove all calls like :
sqlMap.startTransaction();
sqlMap.commitTransaction();
sqlMap.endTr
to be correctly initiallised based on your file).
These calls may be the root cause of the problem.
From: Reese, Rich R. [mailto:[EMAIL PROTECTED]
Sent: Monday, 04 June 2007 11:41
To: user-java@ibatis.apache.org
Subject: RE: Database Blocking
When I remove
Sent: Friday, June 01, 2007 5:16 PM
To: user-java@ibatis.apache.org
Subject: RE: Database Blocking
If you plan to use Spring transaction, you should remove the one in
SqlMapConfig.xml.
It is quite probable that they can block each other...
Christian
If you plan to use Spring transaction, you should remove the one in
SqlMapConfig.xml.
It is quite probable that they can block each other...
Christian
From: Reese, Rich R. [mailto:[EMAIL PROTECTED]
Sent: Friday, 01 June 2007 17:34
To: user-java@ibatis.apache.or
13 matches
Mail list logo