"zeljko_t" wrote : "[EMAIL PROTECTED]" wrote :
| | are you talking enums somehow detected via reverse engineering?
| Oh, yeah. Already done.
| MySQL "show columns" returns types among other things. enums are returned
as "enum('firstValue','secondValue',...)"
| With some parsing I can create list of possible values.
|
ok.
anonymous wrote :
| anonymous wrote :
| | * feed enum type with values using strategy
| |
|
| ? do not understand.
|
Instead of returning type name, I plan to return parametrized type instance
filled with enum values.
Not possible since you can't create the type without having the enum class
available....this is why reveng just gets the class name as string not the
concrete type.
support for configuring the properties is trivial (and planned) to support by
adding a Map columnToHibernateTypeProperties(...) to revengstrategy.
anonymous wrote :
|
| anonymous wrote :
| | JDBCBinder should ask for Type instead of typeName String.
| |
| huh ? What difference would that make ?
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003212#4003212
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4003212
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user