Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] Finetuning data types for model generation - override defaults

Hi

Is it in anyway possible to override the default data types when generating the data model?

I have a set of pojo's with Long fields and I know they will fit in a certain type (like oracles number(10)).

The default is number(38), I know I can annotate with scale and precision but it would be nice if I could override the defaults.

Same thing for dates and varchars etc.

I have been looking a bit at the documentation and javadocs but did not find anything.

I don't mind having to implement it in a class.

Can it be done?

Best regards Jens

Back to the top