users@glassfish.java.net

Re: Could not persist secondary entity class - enterprise.appclient.MainWithMod

From: <glassfish_at_javadesktop.org>
Date: Fri, 04 Jun 2010 07:29:32 PDT

The @EJB at line 29 applies ONLY to the next declaration (line 30). It does NOT somehow carry over to apply to line 31 also.

Please try adding the line I've shown between 30 and 31 and see if that helps.

29 @EJB
30 private static CustomerRemote customerbean;
    @EJB
31 private static SecurityRemote securitybean;


- Tim
[Message sent by forum member 'tjquinn']

http://forums.java.net/jive/thread.jspa?messageID=472764