This was a problem with 4.0.3SP1 (EJB RC3) - one had to use enumvar.ordinal(). 
The ordinal stuff however does not work anymore with 4.0.4RC1. So I removed 
.ordinal() from all parameters and it works as expected. 

So at least for me everything is fine with enums now (using MySQL 5.0.15, 
connector 3.1.12).

Are you sure, that you are using EJB RC5 and the related recent hibernate libs ?

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to