Re: Custom Type Handler question

2005-05-16 Thread Clinton Begin
The answer to that question is yes (even if the parameterClass is specified). But is it meant to be part of this thread? Cheers, Clinton On 5/15/05, Ron Grabowski [EMAIL PROTECTED] wrote: If a parameterClass or parameterMap is not specified: select id=getQuartersForServiceYear

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)

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

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: isNotNull prepend=AND property=name TNODE = trim( upper( #name# ) ) /isNotNull HTH, Kris Hello!! Is possible use Trim(),UpperCase and another funcion in this mode: . dynamic prepend=WHERE isNotNull prepend=AND

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,

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 transactionManager type=JDBC property name=DataSource value=SIMPLE/ property name=JDBC.Driver value=${driver}/ property name=JDBC.ConnectionURL value=${url}/ property name=JDBC.Username value=${username}/

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: . dynamic prepend=WHERE isNotNull prepend=AND property=name param=trim() param=uppercase() (etc ) TNODE = #name# /isNotNull /dynamic ... Thanks Marco Berri

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 transactionManager type=JDBC property name=DataSource value=SIMPLE/ property name=JDBC.Driver value=${driver}/