Make both your List and long[] transient by annotating them as such. You will not be able
to persist them in the database, but can use them inside your SimpleEntity class.
Do not try to do too much in a persistence pojo. It is mainly, as the name says, an entity
to persist.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977778#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...