You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Borut Bolčina (JIRA)" <de...@cayenne.apache.org> on 2008/04/01 14:04:38 UTC

[jira] Issue Comment Edited: (CAY-1022) MySQL 5 data type tinyint(1) not interpreted as java.lang.Boolean

    [ https://issues.apache.org/cayenne/browse/CAY-1022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12809#action_12809 ] 

borutb edited comment on CAY-1022 at 4/1/08 5:03 AM:
------------------------------------------------------------

In the modeler when reverse ingeneering.

      was (Author: borutb):
    In the modeler.
  
> MySQL 5 data type tinyint(1) not interpreted as java.lang.Boolean
> -----------------------------------------------------------------
>
>                 Key: CAY-1022
>                 URL: https://issues.apache.org/cayenne/browse/CAY-1022
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Cayenne Core Library
>    Affects Versions: 3.0
>         Environment: Cayenne 3.0M3, Modeler-win, Mysql 5
>            Reporter: Borut Bolčina
>            Assignee: Andrus Adamchik
>
> If data type is defined as tinyint(1), the class for this attribute should be Boolean, but is insted Byte. Byte is ok if there is no length defined in parenthesis.
> http://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-type-conversions.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.