hello Ed, really thanks, yes, i am working with oracle...
please, can you put me an example about how you convert it to "true" or "false"?? or you make it in the pl-sql function??

thanks in advance...

 

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
[EMAIL PROTECTED]

 

 


"Ed Griebel" <[EMAIL PROTECTED]>

27/06/2006 15:37
Please respond to user-java

       
        To:        [email protected]
        cc:        
        Subject:        Re: please, help with booleans



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: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Jun 27, 2006 3:32 AM
Subject: please, help with booleans
To: [email protected]


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
[EMAIL PROTECTED]


Reply via email to