-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for ReportQuery not fetching relationships with BatchFetch.IN - t…
…ests for 2.7 branch (#2) Signed-off-by: Radek Felcman <[email protected]>
- Loading branch information
Showing
8 changed files
with
120 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
jpa/eclipselink.jpa.test/resource/eclipselink-batchfetch-model/persistence.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!-- | ||
Copyright (c) 2024 Oracle and/or its affiliates. All rights reserved. | ||
This program and the accompanying materials are made available under the | ||
terms of the Eclipse Public License v. 2.0 which is available at | ||
http://www.eclipse.org/legal/epl-2.0, | ||
or the Eclipse Distribution License v. 1.0 which is available at | ||
http://www.eclipse.org/org/documents/edl-v10.php. | ||
SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause | ||
--> | ||
|
||
<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence persistence_2_0.xsd" version="2.0"> | ||
<persistence-unit name="batchfetch"> | ||
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> | ||
<class>org.eclipse.persistence.testing.models.jpa.batchfetch.Company</class> | ||
<class>org.eclipse.persistence.testing.models.jpa.batchfetch.Employee</class> | ||
<class>org.eclipse.persistence.testing.models.jpa.batchfetch.Record</class> | ||
<properties> | ||
<property name="eclipselink.logging.level" value="FINE" /> | ||
<property name="eclipselink.logging.level.sql" value="FINEST"/> | ||
<property name="eclipselink.logging.parameters" value="true"/> | ||
</properties> | ||
</persistence-unit> | ||
</persistence> |
29 changes: 29 additions & 0 deletions
29
jpa/eclipselink.jpa.test/resource/eclipselink-batchfetch-model/server/persistence.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!-- | ||
Copyright (c) 2024 Oracle and/or its affiliates. All rights reserved. | ||
This program and the accompanying materials are made available under the | ||
terms of the Eclipse Public License v. 2.0 which is available at | ||
http://www.eclipse.org/legal/epl-2.0, | ||
or the Eclipse Distribution License v. 1.0 which is available at | ||
http://www.eclipse.org/org/documents/edl-v10.php. | ||
SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause | ||
--> | ||
|
||
<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence persistence_2_0.xsd" version="2.0"> | ||
<persistence-unit name="@default@" transaction-type="@transaction-type@"> | ||
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> | ||
<@datasource-type@>@data-source-name@</@datasource-type@> | ||
<class>org.eclipse.persistence.testing.models.jpa.batchfetch.Company</class> | ||
<class>org.eclipse.persistence.testing.models.jpa.batchfetch.Employee</class> | ||
<class>org.eclipse.persistence.testing.models.jpa.batchfetch.Record</class> | ||
<properties> | ||
<property name="eclipselink.target-server" value="@server-platform@"/> | ||
<property name="eclipselink.target-database" value="@database-platform@"/> | ||
<property name="eclipselink.weaving" value="@server-weaving@"/> | ||
<property name="eclipselink.logging.logger" value="DefaultLogger"/> | ||
</properties> | ||
</persistence-unit> | ||
</persistence> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters