Ibatis conversion error on DB2

2009-09-03 Thread adi203793
I have been using Ibatis through Spring to acccessing data from DB2 to java. I have been run this query so many times sometimes it works and sometimes not. means I m not able to replicate it.while updating the record I got the error like this: UPDATE STHEDRL1 SET STHRIN=? WHERE STHINT=? AND STHNU

Dynamic (Evaluated) Prepend

2009-09-03 Thread Kunle Gbadamosi
Hi there, I have a situation where I need to dynamically determine my prepend value (which could be AND or OR). Here's a quick sample - A = #A# B = #B# Looking at the snippet, I want to pass the value of the prepend using $logicOperator$. And I want the first Prepend to be removed.

Cache in iBATIS 3.0

2009-09-03 Thread HÃ¥kan Andersson
Hi I have been playing a little with the custom cache in ibatis 3.0 Beta 3, but I can't see that the putObject is fired, is there any special condition that needs to be fulfilled before it will happen? hasKey, getObject and getReadWriteLock all get fired when it should but not putObject. Best Re

Re: selectKey in annotation

2009-09-03 Thread smilysep
Ticket ist created and available https://issues.apache.org/jira/browse/IBATIS-642 HERE Clinton Begin wrote: > >>> Feel free to add a Jira ticket for this one. > > On Thu, Sep 3, 2009 at 3:05 AM, smilysep wrote: > >> >> Well is that feature already planned, or should i create a ticket? >>

Re: SqlMapClientBuilder or SqlSessionFactoryBuilder

2009-09-03 Thread Clinton Begin
Sorry, pushed send too fast... to the second part of your question: >> What's the difference between SqlMapClient or SqlSessionFactory? The primary difference is that SqlSessionFactory does not contain the "ThreadLocal" convenience methods that SqlMapClient did. If you look at SqlMapClient, the

Re: SqlMapClientBuilder or SqlSessionFactoryBuilder

2009-09-03 Thread Clinton Begin
There are no Javadocs for iB3 yet. There's a full user guide though... On Thu, Sep 3, 2009 at 8:18 AM, liny wrote: > > Hi, > > I'd like to ask why I can't find SqlSessionFactoryBuilder in oneline java > doc of iBatis web site? > I downloaded iBatis3 user guide, and this guide told me to use >

SqlMapClientBuilder or SqlSessionFactoryBuilder

2009-09-03 Thread liny
Hi, I'd like to ask why I can't find SqlSessionFactoryBuilder in oneline java doc of iBatis web site? I downloaded iBatis3 user guide, and this guide told me to use SqlSessionFactory. What's the difference between SqlMapClient or SqlSessionFactory? -- View this message in context: http://www.na

If it isn't in JIRA, it won't get done.

2009-09-03 Thread Clinton Begin
Hi all, It's awesome to discuss ideas and issues in the mailing list, but once a discussion lands on an action (or even gets close to one), please create a JIRA ticket. In fact, it doesn't hurt to do so and use the comment system in JIRA for the discussion. The reason being, it's sometimes hard

Re: selectKey in annotation

2009-09-03 Thread Clinton Begin
>> Feel free to add a Jira ticket for this one. On Thu, Sep 3, 2009 at 3:05 AM, smilysep wrote: > > Well is that feature already planned, or should i create a ticket? > > if it is planned when will it be ready? > > greetz > sebastian > > > > Clinton Begin wrote: > > > > Ha! That doesn't work.

Re: Fwd: call a DB2 Stored Procedure using iBatis, which returns only OUT parameters

2009-09-03 Thread Mario Ds Briggs
Why dont u try it and if u ran into problems, ask that on the list Kiran Kumar To

Re: Maven and iBatis 3.0 - Excuse me for the stupid question

2009-09-03 Thread Andy Law
Richard Bibb wrote: > > It turns out that this is the approach I needed to use. Putting the files > in the resources directory works but to my mind it's untidy. Having the > xml files in a directory on their own is better to my mind, albeit adding > a slight non-standard aspect to my maven build

Re: selectKey in annotation

2009-09-03 Thread smilysep
Well is that feature already planned, or should i create a ticket? if it is planned when will it be ready? greetz sebastian Clinton Begin wrote: > > Ha! That doesn't work. XML is not parsed inside the annotation text, and > it never will be. > > What we'll have to do is add a @SelectKey a

Fwd: call a DB2 Stored Procedure using iBatis, which returns only OUT parameters

2009-09-03 Thread Kiran Kumar
Hi, I am trying to call a DB2 Stored Procedure, which does not return any Result Sets, instead returns only OUT parameters. Please let me know, whether this is possible or not (Calling a Stored Proc which does not return any Result Set)? iBatis version i am using is 2.0.9. Any Help wud be great