I\'ve got those two classes
MyItem Object:
@Entity public class MyItem implements Serializable { @Id private Integer id; @ManyToOne(casc
if you are using jboss EAP 6.. change it to jboss 7.1.1 .this is a bug of jboss EAP 6. https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6.3/html/6.3.0_Release_Notes/ar01s07s03.html