Issue Details (XML | Word | Printable)

Key: CSC-671
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Oliver Ringel
Reporter: Oliver Ringel
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Fornax Cartridge Sculptor

Improved support for Enums, calculation of database column length

Created: 16/Nov/11 12:18 AM   Updated: 21/Jan/12 10:02 PM
Component/s: Generator
Affects Version/s: 2.0.0
Fix Version/s: 2.1.0

Time Tracking:
Not Specified


 Description  « Hide
Calculate the length of the database column for an enum reference.

It is possible to override the calculated type and length using hints.

    hint="ordinal" -> database type is INTEGER/NUMBER
    hint="databaseLength=10" -> database type is VARCHAR(10)


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Patrik Nordwall added a comment - 11/Dec/11 12:53 PM
Isn't this done?

Oliver Ringel added a comment - 22/Dec/11 10:49 AM
upgraded 'ordinal' to dsl keyword and added it into the metamodel.
added unit test for enum transformation handling.