For Persistence unit name, enter OrderDB (Figure 37).
对于Persistence unitname,请输入OrderDB(图37)。
The persistence unit name of this sample is JPASample.
该示例的持久性单元名称为JPASample。
The JPA persistence unit is configured as usual through a persistence.xml file.
JPA持久性单元同样通过一个persistence . xml文件来配置。
The persistence-unit-ref entry for the EntityManagerFactory within the WAR’s web.xml file can now be removed.
在WAR 的 web.xml文件中,EntityManagerFactory的 persistence-unit-ref 项现在可以删除。
The persistence-unit-ref entry for the EntityManagerFactory within the WAR’s web.xml file can now be removed.
在WAR 的 web.xml文件中,EntityManagerFactory的 persistence-unit-ref 项现在可以删除。
应用推荐