| Sybase ASE 15: User data types mapped to java Object type [message #793215] |
Tue, 07 February 2012 17:23  |
Patrick Maloney Messages: 1 Registered: February 2012 |
Junior Member |
|
|
Hi,
Is there a type mapping file somewhere for Sybase ASE? We have numerous custom data types ('ut_sysgen', for example, which is 'int'). Dali just makes them Object types when generating entities from tables.
I am using Indigo. I tried updating Sybase_ASE_15.x.xmi in org.eclipse.datatools.enablement.sybase.ase.dbdefinition_1.0.0.v200906161800.jar
by adding '<name>ut_sysgen</name>' in the element with INT and INTEGER, but it didn't pick it up there, maybe something to do with jdbcEnumType being different for a custom type, I don't know.
I know updating that file does something as I tried mucking with the Java types for other db types and it did change the code that was generated.
Any hints on where to configure this type mapping?
Thanks, Patrick
|
|
|