How do you connect to JPa manually?
 Not using a code like this e.g 

public class LocalBean  implements LocalService
{
        @PersistenceContext(unitName="com.landreform.model")
        EntityManager em;
        @Override

        public LandUser getUserById(long id) throws RemoteException 
{
                LandUser landUser = em.find(LandUser.class, id);
                return landUser;
        }


--
View this message in context: 
http://openjpa.208410.n2.nabble.com/Connecting-to-JPA-tp7328387p7328387.html
Sent from the OpenJPA Developers mailing list archive at Nabble.com.

Reply via email to