Hitachi

uCosminexus Application Server Compatibility Guide


8.11.5 Notes when the Cosminexus JPA functionality is not used

With the Cosminexus JPA functionality, when persistence.xml is included in an application, persistence.xml is read by default regardless of whether the Cosminexus JPA functionality is used. If persistence.xml cannot be interpreted with Application Server, the application fails to start.

To avoid this situation, when persistence.xml is included in the application and you do not want to use the Cosminexus JPA functionality, specify true in the ejbserver.jpa.disable property of the J2EE server.

As a result, persistence.xml is no longer read with Application Server.

Also, regardless of the value specified in the ejbserver.jpa.disable property, the JPA version that can be used with Application Server is JPA 1.0.