ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Narasimha Prasad" <pras...@dbo2.com>
Subject RE: Problem with retrieving the data
Date Mon, 11 Apr 2005 19:59:40 GMT
You could try defining a resultMap to use.

 

<resultMap id=”myResults”  class="resultBeanClass” >

  <result property="blah" column="blah" jdbcType="TINYINT"/>

  ….

  ….

</resultMap>

 

Thanks,

Prasad

 

DBO2 Inc

-----Original Message-----
From: Yogender Singh Butola [mailto:yogender@outlinesys.com] 
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)


HYPERLINK "http://www.outlinesys.com/" \nLogo 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

HYPERLINK
"mailto:sameer@outlinesys.com?subject=Mail%20Footer%20Click"yogender@outline
sys.com


Web

HYPERLINK "http://www.outlinesys.com/" \nwww.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
 
  

Mime
View raw message