You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "R V V S S V Raju (JIRA)" <ji...@apache.org> on 2011/05/19 12:54:47 UTC
[jira] [Created] (CAY-1569) Type mismatch of dbAttributeType and
objAttributeType
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
[jira] [Commented] (CAY-1569) Type mismatch of dbAttributeType and
objAttributeType
Posted by "K.Krupa Satya Kumari (JIRA)" <ji...@apache.org>.
[ 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