-
Notifications
You must be signed in to change notification settings - Fork 172
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
[2.7] Fix for ReportQuery not fetching relationships with BatchFetch.IN #2312
Closed
Conversation
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
Signed-off-by: Lukas Jungmann <[email protected]>
Signed-off-by: Lukas Jungmann <[email protected]>
Signed-off-by: Lukas Jungmann <[email protected]>
-added sdo back to eclipselink.jar and make it runable on JDK 11+ -updated/fixed content of eclipselink.jar/source jar -fixed up dependency tree for eclipselink.jar (everything is optional as we cannot know what piece of functionality is needed by the user) -make sure that nightly test results are being garthered AFTER all previous test runs Signed-off-by: Lukas Jungmann <[email protected]>
* fix scripts, content of binary distribution zip * remove invalid osgi exports, make osgi exports looking the same as in previous version, tweak dependencies * include new schemas, no handling yet * add dist do deployable modules Signed-off-by: Lukas Jungmann <[email protected]>
Signed-off-by: Radek Felcman <[email protected]>
Signed-off-by: Tomas Kraus <[email protected]>
Signed-off-by: Radek Felcman <[email protected]>
Signed-off-by: Radek Felcman <[email protected]>
) Jenkins and Travis-CI build - server test disable Signed-off-by: Radek Felcman <[email protected]>
* Integrate jaxb-ri 3.0.0-M3 * Integrate jaxws-ri 3.0.0-M3 * Integrate jaxws-api 3.0.0-RC3 * Integrate mail 2.0.0-RC5 * Integrate ejb-api 4.0.0-RC2 * Integrate mail 2.0.0-RC5 Signed-off-by: Lukas Jungmann <[email protected]>
Nightly build - test status generation Signed-off-by: Radek Felcman <[email protected]>
…e-ee4j#792) (eclipse-ee4j#807) * Bug 563264: tomcat jndi expected is java:comp/env/BeanManager (eclipse-ee4j#792) Signed-off-by: [email protected] <[email protected]>
…EUNITOFWORK (eclipse-ee4j#797) Signed-off-by: Ravi Babu Tummuru <[email protected]>
… used in InheritanceType.JOINED (eclipse-ee4j#806) EclipseLink doesn't generate SQL INSERT correctly if @ReturnInsert if used in InheritanceType.JOINED bugfix for bug eclipse-ee4j#803 + test Signed-off-by: Radek Felcman <[email protected]>
…ad (eclipse-ee4j#819) Bugfix + Unit test Signed-off-by: Radek Felcman <[email protected]>
Signed-off-by: Lukas Jungmann <[email protected]>
… it (eclipse-ee4j#827) Signed-off-by: Lukas Jungmann <[email protected]>
* Take aqapi from central, remove obsolete module from the build Signed-off-by: Lukas Jungmann <[email protected]>
Move some integration tests in *.oracle.test modules into Maven "oracle" profile. Signed-off-by: Radek Felcman <[email protected]>
Signed-off-by: Lukas Jungmann <[email protected]>
The issue is that on OpenJ9 adapterCls.getMethods() returns all the classes' methods. The current code add all the methods to "marshalMethods", so marshal methods but also getClass, equals and so on. On openjdk the marshal method is the first one to pop, which is not the case on OpenJ9, the first one is getClass So in the second loop: JavaClass paramType = method.getParameterTypes()[0]; an ArrayIndexOutOfBoundsException is thrown. The modification will only add to "marshalMethods" methods named marshal with one argument. Which seems to me the wanted behaviour from the start. Co-authored-by: Yann Diorcet <[email protected]>
This change is based on recommendations from https://bugs.eclipse.org/bugs/show_bug.cgi?id=564240 . Signed-off-by: Radek Felcman <[email protected]>
…4j#879) Signed-off-by: Joe Grassel <[email protected]>
Signed-off-by: Will Dazey <[email protected]>
Signed-off-by: Radek Felcman <[email protected]>
Signed-off-by: Lukas Jungmann <[email protected]>
* Jakarta dependencies upgrade Signed-off-by: Radek Felcman <[email protected]> Co-authored-by: Lukas Jungmann <[email protected]>
…'s related with Oracle dependencies changes. (eclipse-ee4j#895) Signed-off-by: Radek Felcman <[email protected]>
…plugin set version operation. (eclipse-ee4j#896) Signed-off-by: Radek Felcman <[email protected]>
…se-ee4j#1833) Signed-off-by: Will Dazey <[email protected]> Signed-off-by: Tomas Kraus <[email protected]>
Signed-off-by: Will Dazey <[email protected]>
Signed-off-by: Radek Felcman <[email protected]>
…ities (eclipse-ee4j#1843) (eclipse-ee4j#1863) * Issue 1596: use a hash-based collection to lookup objects in the cache instead of a linear search * Adjusted source according to review: - extended tests - updated copyright year - call removeObjectFromPrimaryKeyToNewObjects in preMergeChanges - remove list from primaryKeyToNewObjects if it is empty - simplify tests (cherry picked from commit 76d8274) Signed-off-by: Patrick Schmitt <[email protected]> Signed-off-by: Radek Felcman <[email protected]> Co-authored-by: Patrick Schmitt <[email protected]>
Signed-off-by: Radek Felcman <[email protected]>
This change solve potential memory leak if SDO component is used in JEE environment. There is refactor of SDOHelperContext.helperContexts map content (nested map). Instead of current ConcurrentHashMap is CacheIdentityMap used which supports Least Recently Used (LRU) strategy. This one should be controlled by new SDO system property eclipselink.sdo.helper.contexts.max.size. Signed-off-by: Radek Felcman <[email protected]>
…ery() with wrong argument (eclipse-ee4j#1911) (eclipse-ee4j#1913) Fixes eclipse-ee4j#1893 Signed-off-by: Radek Felcman <[email protected]> (cherry picked from commit 6d59a82)
…ipse-ee4j#1965) JPA WDF test fix Signed-off-by: Radek Felcman <[email protected]>
…j#1972) Signed-off-by: Radek Felcman <[email protected]>
First commit to prepare new version after 3.0.4 (final) release. Signed-off-by: Radek Felcman <[email protected]>
…clipse-ee4j#1292) PROBLEM ======= NullPointerException raising at CacheIndexMetadata.getField() while EntityManager initialising. CAUSE ======= Entity metadata XML file contains tag <cache-index><column-name>SOMENAME</column-name></cache-index>. XML Deserializer call CacheIndexMetadata default constructor. ORMetadata.m_project field stay none initialised. Call of CacheIndexMetadata.getField() throw to exception. SOLVING ======= Set ORMetadata.m_project value after XML deserialization. Signed-off-by: Vladimir Ivanov <[email protected]> Co-authored-by: Vladimir Ivanov <[email protected]>
Signed-off-by: Radek Felcman <[email protected]>
…e-ee4j#2141) Fixes eclipse-ee4j#2136 Backport from eclipse-ee4j#2137 Signed-off-by: Radek Felcman <[email protected]>
Remove too strong dependency on Oracle error message. There is change between Oracle 23c and Oracle 23ai. Signed-off-by: Radek Felcman <[email protected]>
…clipse-ee4j#2172) Signed-off-by: Radek Felcman <[email protected]> (cherry picked from commit f7bc1d2)
Signed-off-by: Radek Felcman <[email protected]>
Signed-off-by: Radek Felcman <[email protected]>
Signed-off-by: Radek Felcman <[email protected]> (cherry picked from commit 3b5da43)
Fixes eclipse-ee4j#2221 Signed-off-by: Radek Felcman <[email protected]>
…clipse-ee4j#2252) Under specific conditions is org.eclipse.persistence.exceptions.OptimisticLockException incorrectly thrown. Environment conditions are: JPA L2 cache enabled Weaving is applied to used entities @Version annotation is used Test org.eclipse.persistence.testing.tests.advanced2.weave.WeaveVersionTest#testWeavedEntitiesWithVersionL2Cache describe sequence of steps which leads into org.eclipse.persistence.exceptions.OptimisticLockException if fix is not applied. Purpose of fix in org.eclipse.persistence.internal.sessions.UnitOfWorkImpl#cloneAndRegisterObject(java.lang.Object, org.eclipse.persistence.internal.identitymaps.CacheKey, org.eclipse.persistence.internal.identitymaps.CacheKey, org.eclipse.persistence.descriptors.ClassDescriptor) is update current working object with non-invalidated version from UnitOfWork scope if original is still invalid. Signed-off-by: Radek Felcman <[email protected]> (cherry picked from commit c4fc6f1)
…different number of arguments (backport to 3.0) (eclipse-ee4j#2263) TestArgumentListFunctionExpressionConcurrency.java - adds tests that reproduce the bug. ExpressionOperator.java - fixes getArgumentIndices by disabling the caching of the dynamically created argument indexes. Co-authored-by: Igor Mukhin <[email protected]>
Signed-off-by: Radek Felcman <[email protected]>
…lipse-ee4j#2303) (cherry picked from commit d7114a0)
Sheikah45
force-pushed
the
batchfetchin-2.7
branch
from
November 22, 2024 12:54
e8a5c18
to
0fe8b5e
Compare
Sorry in 2.7 is build system based on Ant and there different file structure. Fix must be manually applied there. |
Got it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport of #2303