You could try defining a resultMap to use.
<resultMap id=”myResults” class="resultBeanClass” >
<result property="blah" column="blah" jdbcType="TINYINT"/>
….
….
</resultMap>
-----Original
Message-----
From: Yogender Singh Butola
[mailto:[EMAIL PROTECTED]
Sent: Monday, April 11, 2005 4:51 AM
To:
ibatis-user-java@incubator.apache.org
Subject: Problem with retrieving
the data
Hi
there,
I’m
having a problem while retrieving the data from a column of the table whose
data type is ‘bit’. The values stored are 0 or 1. However when I
try retrieve the values it returns true or false based on the value.
How
can I retrieve the values in the of 1 or 0.
Pls
help. This is urgent…
Thanks
in Advance.
With
Regards,
Yogender Singh Butola.
(Software Developer)
![Logo Outline Systems Inc.]()
|
Outline Systems India
|
Suite No-24, U&I
Corporate Centre
|
47, ECHELON, Sector-32
|
Gurgaon
|
Haryana,
INDIA
|
Mobile
|
+91-9818760744
|
Voice
|
+91-124-5035732
|
Fax
|
+91-124-5109055
|
E-Mail
|
[EMAIL PROTECTED]
|
Web
|
www.outlinesys.com
|
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.4 - Release Date: 4/6/2005
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.4 - Release Date: 4/6/2005
|
<<image001.gif>>