persist( new Event( "A follow up event", new Date() ) ); entityManager.getTransaction().commit(); entityManager.close();. The code is similar to Example 2.5, “ ...
確定! 回上一頁