You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jl...@apache.org on 2019/08/20 09:03:52 UTC
[tomee] 01/03: Avoid OpenJPA to enhance unrelated classes resulting
in exceptions Define the javaee-api as something a bit more opened to
updates
This is an automated email from the ASF dual-hosted git repository.
jlmonteiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee.git
commit 29cd4253a17db811b54243e8659ae973ee25bf75
Author: Jean-Louis Monteiro <je...@gmail.com>
AuthorDate: Thu Aug 15 13:49:43 2019 +0200
Avoid OpenJPA to enhance unrelated classes resulting in exceptions
Define the javaee-api as something a bit more opened to updates
---
.../src/main/resources/META-INF/persistence.xml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/examples/multi-jpa-provider-testing/src/main/resources/META-INF/persistence.xml b/examples/multi-jpa-provider-testing/src/main/resources/META-INF/persistence.xml
index bb66de6..fa49c85 100644
--- a/examples/multi-jpa-provider-testing/src/main/resources/META-INF/persistence.xml
+++ b/examples/multi-jpa-provider-testing/src/main/resources/META-INF/persistence.xml
@@ -23,6 +23,8 @@
http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
<persistence-unit name="jpa">
<jta-data-source>jdbc/jpa</jta-data-source>
+ <class>org.superbiz.model.Person</class>
+ <exclude-unlisted-classes>true</exclude-unlisted-classes>
<properties>
<!--
OpenJPA