RE: Database Blocking

2007-06-05 Thread Reese, Rich R.
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

RE: Database Blocking

2007-06-04 Thread Poitras Christian
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

Re: Database Blocking

2007-06-04 Thread Gwyn Evans
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.    

RE: Database Blocking

2007-06-04 Thread Daniel Kalcevich
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

RE: Database Blocking

2007-06-04 Thread Daniel Kalcevich
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

RE: Database Blocking

2007-06-04 Thread Reese, Rich R.
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

RE: Database Blocking

2007-06-04 Thread Reese, Rich R.
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

RE: Database Blocking

2007-06-04 Thread Poitras Christian
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

RE: Database Blocking

2007-06-04 Thread Daniel Kalcevich
__ 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

RE: Database Blocking

2007-06-04 Thread Reese, Rich R.
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

RE: Database Blocking

2007-06-04 Thread Poitras Christian
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

RE: Database Blocking

2007-06-04 Thread Reese, Rich R.
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

RE: Database Blocking

2007-06-01 Thread Poitras 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