"bdruth wrote : What, if anything, can I do now? 
This is the easiest route that comes to mind:
add hibernate annotations to the classpath
subclass VariableInstance
declare a field of type Enum
map the subclass to the database with the org.hibernate.type.Enum type
Remarks:
the topic in the hibernate forum is not clear on whether you can use enums in 
queries; we need to make sure the enum support includes criteria
this solution, and any other, is specific to java 5; it cannot go to the core 
jbpm codebase
jbpm users that do not deal with enums do not want the additional subclass and 
database column(s)
conversely, users that deal with enums probably do not mind the extra subclass 
and column(s)
My conclusion is that we should consider a separate subproject, some sort of 
java 5 bonus pack, that java 5 users can install to get enum support and any 
other  goodie we come up with in the future.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943274#3943274

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943274


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to