Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » Sybase ASE 15: User data types mapped to java Object type
Sybase ASE 15: User data types mapped to java Object type [message #793215] Tue, 07 February 2012 17:23 Go to previous message
Patrick Maloney is currently offline 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
 
Read Message
Read Message
Previous Topic:New JPA Project Wizard Platform filtering possible?
Next Topic:Unable to generate JAXB classes
Goto Forum:
  


Current Time: Fri May 24 16:59:06 EDT 2013

Powered by FUDForum. Page generated in 0.01665 seconds