89101112131415161718
private PersistenceManager pm = PMF.get().getPersistenceManager(); public UserClass create(UserClass userClass) { UserClass createdUserClass = null; try { createdUserClass = pm.makePersistent(userClass);