cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "K.Krupa Satya Kumari (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAY-1569) Type mismatch of dbAttributeType and objAttributeType
Date Thu, 19 May 2011 12:30:48 GMT

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

K.Krupa Satya Kumari commented on CAY-1569:
-------------------------------------------

//TypesMapping.java

    // char constants for Java data types

    public static final String JAVA_CHAR = "java.lang.Character";
    public static final String JAVA_CLOB="java.sql.Clob";
    public static final String JAVA_OTHER="java.lang.Object";
    public static final String JAVA_OTHER="java.lang.Object";

         sqlEnumJava.put(Integer.valueOf(Types.CLOB), JAVA_CLOB);
         sqlEnumJava.put(Integer.valueOf(Types.BLOB), JAVA_BLOB);
         sqlEnumJava.put(Integer.valueOf(Types.CHAR), JAVA_CHAR);
         sqlEnumJava.put(Integer.valueOf(Types.TIME), JAVA_TIME);
         sqlEnumJava.put(Integer.valueOf(Types.TIMESTAMP), JAVA_TIMESTAMP);
         sqlEnumJava.put(Integer.valueOf(Types.OTHER),JAVA_OTHER);








> Type mismatch of dbAttributeType and objAttributeType
> -----------------------------------------------------
>
>                 Key: CAY-1569
>                 URL: https://issues.apache.org/jira/browse/CAY-1569
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Modeler
>    Affects Versions: 3.0.1
>            Reporter: R V V S S V Raju
>            Priority: Minor
>
> 1.Create dbAttribute of type character.
> 2.Generate objEntity 
> 3.The objAttribute should be of type character but it is showing java.lang.String type.
> The same for TIME,TIMESTAMP,CLOB.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message