Repository navigation
Conversation
…tables (entities) that have a @customizer (history policy)
|
wrt test - take a look at jpa/eclipselink.jpa.testapps and try to find an existing test this could be added to - |
…tables (entities) that have a @customizer (history policy)
…cy would cause a null pointer exception
|
Hi @lukasj Thanks for your help! Took me a while to get back to it but I have added tests to the pull request, if there is anything else I can do to move this along let me know |
|
at the time of submission, ECA was valid |
|
@arjantijms I reproduced the original problem and a new regression using current 5.x code with the PR’s production changes:
The problem is the new What the author should do:
|
When joining tables (entities) that have a @customizer (history policy) eclipselink will throw a NullPointerException
I have a simple proof of concept project that demonstrates the issue. Ideally this could be added to the eclipselink project as a test, any help around where to add this test in the project would be appreciated as I couldn't even get the 2.7 branch to build locally and am unfamiliar with the project
This pull request would resolve this issue https://bugs.eclipse.org/bugs/show_bug.cgi?id=526836
A possible other solution / improvement might be to initialise
asOfClauseinorg.eclipse.persistence.internal.expressions.DataExpressionsuch that it is not null in the first placeI have agreed to the Eclipse Contributor Agreement https://www.eclipse.org/user/mustard