You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by "Thomas Fox (JIRA)" <ji...@apache.org> on 2011/05/02 21:28:03 UTC

[jira] [Assigned] (TORQUE-155) Use "${size} CHAR" instad of "${size}" as SQL for column size in oracle

     [ https://issues.apache.org/jira/browse/TORQUE-155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Fox reassigned TORQUE-155:
---------------------------------

    Assignee: Thomas Fox

> Use "${size} CHAR" instad of "${size}" as SQL for column size in oracle
> -----------------------------------------------------------------------
>
>                 Key: TORQUE-155
>                 URL: https://issues.apache.org/jira/browse/TORQUE-155
>             Project: Torque
>          Issue Type: Improvement
>          Components: Generator
>    Affects Versions: 3.3
>            Reporter: Thomas Fox
>            Assignee: Thomas Fox
>             Fix For: 4.0
>
>
> In an UTF8 Database, the generated sql VARCHAR(${size}) denotes the maximum number of bytes possible for the column.
> However, typically one wants to define the maximum numbers of characters possible for that column.
> To achieve that, the generated sql must be VARCHAR(${size} CHAR)

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

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org