You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Clinton Begin (JIRA)" <ib...@incubator.apache.org> on 2005/12/20 16:06:31 UTC

[jira] Closed: (IBATIS-106) Retrieving bit value from data base

     [ http://issues.apache.org/jira/browse/IBATIS-106?page=all ]
     
Clinton Begin closed IBATIS-106:
--------------------------------

    Resolution: Invalid

There are a number of ways to deal with this...map it to a numeric type, use a custom type handler etc.

> Retrieving bit value from data base
> -----------------------------------
>
>          Key: IBATIS-106
>          URL: http://issues.apache.org/jira/browse/IBATIS-106
>      Project: iBatis for Java
>         Type: Task
>   Components: SQL Maps
>  Environment: SQL server
>     Reporter: yogneder

>
> 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 form of 1 or 0.
> Pls help. This is urgent…
> Thanks in Advance.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira