Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[master] JPA Test Advanced fix #1955

Merged
merged 1 commit into from
Oct 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions jpa/eclipselink.jpa.testapps/jpa.test.advanced/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
<includes>
<include>**/JPAAdvancedTestModel</include>
<include>**/advanced/*Test</include>
<include>**/advanced/EntityManagerJUnitTestSuite</include>
</includes>
</configuration>
</execution>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,18 @@
</properties>
</persistence-unit>

<persistence-unit name="customizeAddTarget">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
<exclude-unlisted-classes>false</exclude-unlisted-classes>
<properties>
<property name="eclipselink.logging.level" value="OFF"/>
<property name="eclipselink.descriptor.customizer.Employee" value="org.eclipse.persistence.testing.models.jpa.advanced.AddTargetCustomizer"/>
<!-- Since we don't exclude unlisted classes here, we will -->
<!-- eventually hit the multitenant entities which turn native -->
<!-- sql queries off by default, so we need to be explicit here -->
<!-- and turn them on -->
<property name="eclipselink.jdbc.allow-native-sql-queries" value="true"/>
</properties>
</persistence-unit>

</persistence>