persist

    8熱度

    1回答

    我們正在使用JPA + Spring + EJB的Toplink實現。在我們的一個EJB中,我們有這樣的東西: public void updateUser(long userId, String newName){ User u = em.get(User.class, userId); u.setName(newName); // no persist is in