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
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)
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
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
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,
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
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
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}/
8 matches
Mail list logo