You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Es...@steria.es on 2006/06/27 09:32:59 UTC

please, help with booleans

i have a procedure call that returns me a boolean and i don´t know how to 
take it with ibatis, what jdbcType i must put? and javaType??
please, someone has an example of this?? i want to take this boolean value 
from ibatis and now i obtain an error in my parameter mode="out", about my 
type is incorrect.




 
 


Esperanza Echeverría de Miguel
Steria España http://www.steria.es
C/Menéndez y Pelayo,3 bis 46010 Valencia
Tel: + 34 96 393 87 50 Fax: +34 96 393 87 51
esperanza.echeverria@steria.es

 
 

Re: please, help with booleans

Posted by Ed Griebel <ed...@gmail.com>.
You do not say what database you are using, but Oracle's JDBC driver
does not support Boolean results to be returned, it isn't a problem
with iBatis. I have this problem and I convert them to "true" or
"false" and return them as VARCHAR2.

-ed

---------- Forwarded message ----------
From: Esperanza.Echeverria@steria.es <Es...@steria.es>
Date: Jun 27, 2006 3:32 AM
Subject: please, help with booleans
To: user-java@ibatis.apache.org


i have a procedure call that returns me a boolean and i don´t know how
to take it with ibatis, what jdbcType i must put? and javaType??
please, someone has an example of this?? i want to take this boolean
value from ibatis and now i obtain an error in my parameter
mode="out", about my type is incorrect.









  Esperanza Echeverría de Miguel
 Steria España http://www.steria.es
 C/Menéndez y Pelayo,3 bis 46010 Valencia
 Tel: + 34 96 393 87 50 Fax: +34 96 393 87 51
 esperanza.echeverria@steria.es