The @Column annotation goes on the accessor, not the data member. I have also gotten back a List whose count was > 0, even though everything was null. I assume this was happening because the primary key field I was using wasn't actually primary key worthy (i.e. unique). Created a surrogate field and it worked fine.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982389#3982389 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982389 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user