Skip to content

Commit

Permalink
JPA Test Advanced fix (eclipse-ee4j#1955)
Browse files Browse the repository at this point in the history
It seems, that after transformation from jpa.test to jpa.testapps EntityManagerJUnitTestSuite from jpa.testapps.advanced was excluded from the execution.
This change returns this suite back.

Signed-off-by: Radek Felcman <[email protected]>
  • Loading branch information
rfelcman authored Oct 3, 2023
1 parent ad93f7a commit 676506b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
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>

0 comments on commit 676506b

Please sign in to comment.