cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Roestenburg (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAY-745) Please add GRAPHIC/VARGRAPHIC type to Cayenne modeler GUI
Date Tue, 23 Mar 2010 20:21:27 GMT

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

Robin Roestenburg commented on CAY-745:
---------------------------------------

Feature request created.

I also tested the following workaround:
- Define a DbEntity using the modeler, make sure it has a field which uses the varchar-datatype
with a specific length.
- Create the table for the DbEntity manually, using a dbcs-datatype instead of the varchar-datatype.
- Add a row to the table using Cayenne. The field using the dbcs-datatype should be filled
with a string of the maximum size containing only UTF8 or UTF16 characters.

This works as expected.

> Please add GRAPHIC/VARGRAPHIC type to Cayenne modeler GUI
> ---------------------------------------------------------
>
>                 Key: CAY-745
>                 URL: https://issues.apache.org/jira/browse/CAY-745
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Modeler
>    Affects Versions: 2.0 branch
>         Environment: Cayenne 2.0.2 , Windows XP , DB2 v9
>            Reporter: Akira Shimosako
>            Priority: Minor
>
> I want to use GRAPHIC and VARGRAPHIC type of DB2 , but Cayenne modeler GUI does not have
GRAPHIC/VARGRAPHIC type.
> (I can not chose GRAPHIC/VARGRAPHIC type in Cayenne modeler's DbEntity atribute.)
> Please add GRAPHIC and VARGRAPHIC type to Cayenne modeler.
> GRAPHIC is string type, like CHAR. 
> VARGRAPHIC is variable length string type , like VARCHAR.
> GRAPHIC/VARGRPAHIC  type can contain double byte charactors (like Japanese,Chinese etc.)
> So, GRAPHIC/VARGRPAHIC  types should be mapped with java.lang.String.

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


Mime
View raw message