SqlMap More sql Funcion

2005-05-16 Thread Marco Berri
Hello!! Is possible use Trim(),UpperCase and another funcion in this mode: . TNODE = #name# ... Thanks Marco Berri

Re: iBatis DAO - How to turn off data connection pool

2005-05-16 Thread Clinton Begin
What are you trying to achieve by doing that?  You can't really "turn off" pooling with SimpleDataSource, but you could try one of the other implementations or write your own to achieve that.  Cheers, Clinton On 5/16/05, Folashade Adeyosoye <[EMAIL PROTECTED]> wrote: How can I turn

Re: iBatis DAO - How to turn off data connection pool

2005-05-16 Thread Brice Ruth
Did you try "1" ? On 5/16/05, Folashade Adeyosoye <[EMAIL PROTECTED]> wrote: > > > > How can I turn off the Database connection pool in the dao.xml > > > > > > > > > > > > > > > > > > > > > > > > >

Custom funcion in SqlMap

2005-05-16 Thread Marco Berri
Custom funcion in SqlMap Hello!! Is possible use Trim(),UpperCase and another funcion in this mode: . TNODE = #name# ... Thanks Marco Berri

iBatis DAO - How to turn off data connection pool

2005-05-16 Thread Folashade Adeyosoye
How can I turn off the Database connection pool in the dao.xml                                    I tried changing the    and   , but I got an exception     exception is thrown - java.lang.IndexOutOfBoundsException: Inde

Re: Custom funcion si SqlMap

2005-05-16 Thread Brandon Goodin
It is not possible to use java code within attributes (or anywhere else for that matter). You can handle this via SQL function calls ( which may harm preformance) or you can make the alteration to your bean in the DAO class before it is passed in to the mapped statement. Brandon On 5/16/05, Marco

Re: Custom funcion si SqlMap

2005-05-16 Thread Kris Jenkins
Hey Marco, I'm afraid not. You could just do it in the database instead: TNODE = trim( upper( #name# ) ) HTH, Kris Hello!! Is possible use Trim(),UpperCase and another funcion in this mode: . TNODE = #name# ... Thanks Marco Berri -- Kris Jenkins Email: [EMAIL PROTECTED] Blo

RE: iBATIS for Java 2.1.0 Released

2005-05-16 Thread Graham Cruickshanks
Hi Clinton, Great news on the 2.1.0 release. I see in the change log "Changed SQL executor to always call .execute instead of .executeQuery and .executeUpdate", does this address bug IBATIS-53? Cheers Graham From: Clinton Begin <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: ibatis-dev@incu

Re: Custom Type Handler question

2005-05-16 Thread Ron Grabowski
After re-reading this sentance in the development guide: The name "value" is simply a placeholder, you can use another moniker if you like. my comment probably wasn't all that relavent. On the flip side, IBatisNet doesn't adhere to the documentation in this regard. --- Clinton Begin <[EMAIL PROT

Iterate over beans

2005-05-16 Thread J Aaron Farr
Hello. Maybe I just missed it, but I didn't see an example of iterating over beans in the documentation. The examples I've seen only show iterating over simple Lists of String objects. While the syntax for iterating over beans is intuitive, I just thought I'd share this example. Sorry if it's o

Custom funcion si SqlMap

2005-05-16 Thread Marco Berri
Hello!! Is possible use Trim(),UpperCase and another funcion in this mode: . TNODE = #name# ... Thanks Marco Berri

Re: Custom Type Handler question

2005-05-16 Thread Ken Katsma
Sven, Actually this is a case of a cursor returned within another cursor, so I haven't performed a fetch until I called result.next() below. See the straight Java example I included to understand the nesting I'm trying to accomplish.  Or perhaps there is something I'm not understanding about

Re: Custom Type Handler question

2005-05-16 Thread Sven Boden
Ken, To get back to the original question, the problem you have lies in the part: public Object getResult(ResultGetter arg0) throws SQLException { System.out.println("Object: " + arg0.getObject().getClass().getName()); ResultSet result =3D (ResultSet) arg0.getObje

iBATIS for Java 2.1.0 Released

2005-05-16 Thread Clinton Begin
Hi all The subject says it all.  2.1.0 is now available. Change Log: http://sourceforge.net/project/shownotes.php?release_id=327667 Download: http://www.ibatis.com/downloads.html Cheers, Clinton