I created two CMP EJB entity Client and Adress. There is a One to Many relation between them. When I deploy them on JBoss, I have no errors, and the correponding tables are created in the database. But when I use the method Adress.setClient(C) for instance. I get a ServerException.
In the log of JBoss there is : ClassCastException : org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.SetInstanceValue(...)
I think I have a problem in my descriptors or JBoss configuration.