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

From: JIRA (Borut)
Date: Tue Apr 01 2008 - 07:01:39 EDT

  • Next message: JIRA: "[jira] Created: (CAY-1023) A feedback on successful reingeneered schema"

    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.
    



    This archive was generated by hypermail 2.0.0 : Tue Apr 01 2008 - 07:04:29 EDT