Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

OpenJPA documentation refers to direct configuration under META-INF/persistence.xml; for example:

Code Block
languagexml
<property name="openjpa.RemoteCommitProvider" value="jmstcp(ExceptionReconnectAttempts=5Addresses=10.0.1.10;10.0.1.11)"/>

for usage in core/src/main/resources/persistenceContextEMFactory.xml this becomes:

Code Block
languagexml
<entry key="openjpa.RemoteCommitProvider" value="jmstcp(ExceptionReconnectAttempts=5Addresses=10.0.1.10;10.0.1.11)"/>


 

Apache Tomcat 7

Having this as special reference,

...