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
             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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to