Re: IBATIS 2.3.3, JDK 1.5 - Optimistic locking strategies

2008-10-07 Thread Clinton Begin
I'll let others respond to most of your questions, but implementing your own cache model should be fairly simple... Implement this interface... http://svn.apache.org/repos/asf/ibatis/trunk/java/ibatis-2/ibatis-2-core/src/com/ibatis/sqlmap/engine/cache/CacheController.java And where you'd normall

Re: how do I get the handle to my CacheModel...

2008-10-07 Thread Shantanu Upadhyaya
I just don't have the API call you're referring to : ((SqlMapClientDaoSupport) myDaoHandle).get() I just don't see the getCacheModel() method. I know it's there but which handle do I use to call it ? I checked the iBATIS pdfs. Just doesn't contain this information. Rob Sonke wrote: > > I

IBATIS 2.3.3, JDK 1.5 - Optimistic locking strategies

2008-10-07 Thread mule_user
I would like to explore the strategies for achieving optimistic locking using iBATIS 2.3.3 and JDK 1.5. Following are the constraints: 1. Need to use timestamp column in the database. Cannot use version column in the database, as the current data model does not support version. 2. It will be poss

iBaits is slow with HP nonstop

2008-10-07 Thread viren1
Hi, We have ported our application "java/ibatis/jtds jdbcdriver" with MSSQL 2005 db to HP nonstop "java/ibatis/t4mx hpdriver" with SQL/MX db. The big problem we are facing is it runs slow in HP nonstop. I have written a junit test to check the timings using our DAO layer with iBATIS and SimpleData

ObjectClosedException

2008-10-07 Thread pns
A couple of times while using ibatis for accessing database we observe a ObjectClosedException resulting in a failure of the application. We user ibatis 2.1 jar files with WebSphere 6 and DB2 V9.1 for z/OS. -- View this message in context: http://www.nabble.com/ObjectClosedException-tp19858222p1