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#3977778 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977778 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user