What about something like
Select #value.hardCodeValue#, column1, column2 from table1 where column1= 
#value.hardCodeValue2 and column2='whatever'

----- Mensaje original ----
De: bhaarat Sharma <[EMAIL PROTECTED]>
Para: [email protected]
Enviado: lunes, 31 de diciembre, 2007 15:49:36
Asunto: hardcoding value in result map

Hi,

We are converting our traditional ResultSet code to iBatis.  But are
facing a problem now.

Is there a way to pass a hardcoded value in the resultMap instead of a
column? this hard coded value will come from a javaCode.

so something like this

<result property=\"numberMembers\" column=\"value passed from java
code will come here\"/>

Thanks..






      
____________________________________________________________________________________
¡Capacidad ilimitada de almacenamiento en tu correo!
No te preocupes más por el espacio de tu cuenta con Correo Yahoo!:              
        
http://correo.espanol.yahoo.com/

Reply via email to