[jboss-user] [Clustering/JBoss] - Re: Caching, hybernate and using enums => no go

ZeroTolerance do-not-reply at jboss.com
Wed Jul 15 02:41:11 EDT 2009


I have a solution for my problem.

I replaced the switch statement in the Request class with an if() else statement.

I am now able to deploy the application.

Let this be a lesson for all:

Do not use enum with javassist and switch statements together!
Although if() else isn't beautiful programming it does the job and that's the most important thing!

Thanks all that replied to my posting.

Regards,
Werner

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

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



More information about the jboss-user mailing list