DecoupleaJPAentitiesjarfrompersistence.xmlinSEenvironment有没有办法在多个SE应用程序中重用带有JPA注释实体的jar(作为依赖项)?SE环境不支持persistence.xml中的,还有其他方法吗?正式(根据规范),您必须使用class元素指定所有类。引用JSR-220的第6.2.1.6章mapping-file,jar-file,class,exclude-unlisted-classes:Alistofnamedmanagedpersistenceclassesmayalsobespecifiedinsteadof,orinaddi
DecoupleaJPAentitiesjarfrompersistence.xmlinSEenvironment有没有办法在多个SE应用程序中重用带有JPA注释实体的jar(作为依赖项)?SE环境不支持persistence.xml中的,还有其他方法吗?正式(根据规范),您必须使用class元素指定所有类。引用JSR-220的第6.2.1.6章mapping-file,jar-file,class,exclude-unlisted-classes:Alistofnamedmanagedpersistenceclassesmayalsobespecifiedinsteadof,orinaddi