Well,
This is exactly the problem.
The object needs to be a entity hence the @entity annotation AND it needs to be in JBoss
Cache.
Don't ask why. It needs to be.
In the meantime I figured out that the problem has to do with javassist.
Something is going wrong there.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243581#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...