[jboss-user] [EJB 3.0] - Problem with @OneToMany annotation

Wolfgang Knauf do-not-reply at jboss.com
Thu Aug 26 06:27:36 EDT 2010


Wolfgang Knauf [http://community.jboss.org/people/WolfgangKnauf] replied to the discussion

"Problem with @OneToMany annotation"

To view the discussion, visit: http://community.jboss.org/message/559127#559127

--------------------------------------------------------------
Hi,

what happens in "com.et.GestionDeStockClient.main(GestionDeStockClient.java:30)"? Unfortunately, the error message does not tell anything about the missing class, so it is hard to say whether this is related to your EJBs.

Could you check that both EJB jar and client JAR contain all class files of your entities, and both use the same versions (same compilation date)?

Best regards

Wolfgang

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/559127#559127]

Start a new discussion in EJB 3.0 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100826/2193caa2/attachment.html 


More information about the jboss-user mailing list