Hi all.
I'm using Hibernate 3.1 and Hibernate Annotations beta-7.
I dunno how to tell Hibernate to export (SchemaExport) my annotated Enum property as VARCHAR, instead of default INTEGER ? I can see it correctly works with VARCHAR enum columns if this column was already created as such by other tool, but how to tell to SchemaExport to create it as VARCHAR and not INTEGER?
BTW, automatic recognition of generated INTEGER column doesn't work with Oracle Thin driver and my Oracle 8.1.7 :-(
It raises exception since it recognizes this INTEGER column as DECIMAL when working with it. If column is VARCHAR, it recognizes it correctly. But I cannot tell SchemaExport to create VARCHAR, so I'm stuck. :-(
Regards,
Vjeran
|