You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ddlutils-dev@db.apache.org by "Richard Bounds (JIRA)" <ji...@apache.org> on 2005/09/30 17:46:47 UTC

[jira] Created: (DDLUTILS-22) DB2 type mapping for BOOLEAN should be SMALLINT?

DB2 type mapping for BOOLEAN should be SMALLINT?
------------------------------------------------

         Key: DDLUTILS-22
         URL: http://issues.apache.org/jira/browse/DDLUTILS-22
     Project: DdlUtils
        Type: Bug
    Reporter: Richard Bounds
 Assigned to: Thomas Dudziak 


The mapping in Db2Platform for "BOOLEAN" is currently "CHAR FOR BIT DATA". According to these docs:
http://publib.boulder.ibm.com/infocenter/db2help/topic/com.ibm.db2.udb.doc/ad/rjvjdata.htm#jvregou
it looks like it should be 'SMALLINT' ?

-- 
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


[jira] Commented: (DDLUTILS-22) DB2 type mapping for BOOLEAN should be SMALLINT?

Posted by "Thomas Dudziak (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/DDLUTILS-22?page=comments#action_12330968 ] 

Thomas Dudziak commented on DDLUTILS-22:
----------------------------------------

While CHAR FOR BIT DATA should work just as well (the driver converts the value automatically), you might be right, if the docs suggest SMALLINT, I think we should follow that suggestion. I'll commit a fix.

> DB2 type mapping for BOOLEAN should be SMALLINT?
> ------------------------------------------------
>
>          Key: DDLUTILS-22
>          URL: http://issues.apache.org/jira/browse/DDLUTILS-22
>      Project: DdlUtils
>         Type: Bug
>     Reporter: Richard Bounds
>     Assignee: Thomas Dudziak

>
> The mapping in Db2Platform for "BOOLEAN" is currently "CHAR FOR BIT DATA". According to these docs:
> http://publib.boulder.ibm.com/infocenter/db2help/topic/com.ibm.db2.udb.doc/ad/rjvjdata.htm#jvregou
> it looks like it should be 'SMALLINT' ?

-- 
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


[jira] Updated: (DDLUTILS-22) DB2 type mapping for BOOLEAN should be SMALLINT?

Posted by "Thomas Dudziak (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DDLUTILS-22?page=all ]

Thomas Dudziak updated DDLUTILS-22:
-----------------------------------

    Component: Core - DB2

> DB2 type mapping for BOOLEAN should be SMALLINT?
> ------------------------------------------------
>
>          Key: DDLUTILS-22
>          URL: http://issues.apache.org/jira/browse/DDLUTILS-22
>      Project: DdlUtils
>         Type: Bug

>   Components: Core - DB2
>     Reporter: Richard Bounds
>     Assignee: Thomas Dudziak

>
> The mapping in Db2Platform for "BOOLEAN" is currently "CHAR FOR BIT DATA". According to these docs:
> http://publib.boulder.ibm.com/infocenter/db2help/topic/com.ibm.db2.udb.doc/ad/rjvjdata.htm#jvregou
> it looks like it should be 'SMALLINT' ?

-- 
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


[jira] Resolved: (DDLUTILS-22) DB2 type mapping for BOOLEAN should be SMALLINT?

Posted by "Thomas Dudziak (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DDLUTILS-22?page=all ]
     
Thomas Dudziak resolved DDLUTILS-22:
------------------------------------

    Resolution: Fixed

Fix submitted

> DB2 type mapping for BOOLEAN should be SMALLINT?
> ------------------------------------------------
>
>          Key: DDLUTILS-22
>          URL: http://issues.apache.org/jira/browse/DDLUTILS-22
>      Project: DdlUtils
>         Type: Bug
>     Reporter: Richard Bounds
>     Assignee: Thomas Dudziak

>
> The mapping in Db2Platform for "BOOLEAN" is currently "CHAR FOR BIT DATA". According to these docs:
> http://publib.boulder.ibm.com/infocenter/db2help/topic/com.ibm.db2.udb.doc/ad/rjvjdata.htm#jvregou
> it looks like it should be 'SMALLINT' ?

-- 
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


[jira] Closed: (DDLUTILS-22) DB2 type mapping for BOOLEAN should be SMALLINT?

Posted by "Richard Bounds (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DDLUTILS-22?page=all ]
     
Richard Bounds closed DDLUTILS-22:
----------------------------------


looks good to me.

> DB2 type mapping for BOOLEAN should be SMALLINT?
> ------------------------------------------------
>
>          Key: DDLUTILS-22
>          URL: http://issues.apache.org/jira/browse/DDLUTILS-22
>      Project: DdlUtils
>         Type: Bug
>     Reporter: Richard Bounds
>     Assignee: Thomas Dudziak

>
> The mapping in Db2Platform for "BOOLEAN" is currently "CHAR FOR BIT DATA". According to these docs:
> http://publib.boulder.ibm.com/infocenter/db2help/topic/com.ibm.db2.udb.doc/ad/rjvjdata.htm#jvregou
> it looks like it should be 'SMALLINT' ?

-- 
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