Re: More test failures - JPA spec overwritten
On Mon, Apr 9, 2018 at 5:01 PM, Matthew Broadheadwrote: >> The enhancer version of the enhanced classes is 2, but the enhancer is >> 1674154, which matches the SVN revision of the enhancer, and I believe >> that's what it should be. I don't know where it gets the 2 from. > the latest version isn't 2.4.2 is it? i thought that was an old version. i > just checked out revision 1828727. how do you know which revision is 2.4.2? > i checked this http://openjpa.apache.org/building.html and didn't see > anything It's 2.4.2 because I checked out http://svn.apache.org/repos/asf/openjpa/tags/2.4.2. 2.4.2 is at 1828187 The revision for the enhancer version is taken from the SVN revision of the enhancer, not the workspace. Enhancer is at openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java, and its latest revision, from 2.4.2 PoV is 1674154
Re: More test failures - JPA spec overwritten
the latest version isn't 2.4.2 is it? i thought that was an old version. i just checked out revision 1828727. how do you know which revision is 2.4.2? i checked this http://openjpa.apache.org/building.html and didn't see anything On 09/04/2018 02:16, Pawel Veselov wrote: On Sun, Apr 8, 2018 at 5:22 PM, Pawel Veselovwrote: Trying to run more tests on 2.4.2. My first compilation was successful, but now there is another phantom exception that I have no clue how to resolve. Any help would be appreciated. I haven't made any changes anywhere that should affect this... I don't know where the JPA specification is set, or where, or what file, is it coming from. OK, this was just me panicking. That trace was an expected failure. The only problem that I don't quite understand that I have left during running tests is: https://pastebin.com/aPciDKR8 The enhancer version of the enhanced classes is 2, but the enhancer is 1674154, which matches the SVN revision of the enhancer, and I believe that's what it should be. I don't know where it gets the 2 from.
Re: Repeating parameter name causes all kinds of problems?
On Mon, Apr 2, 2018 at 1:03 AM, Pawel Veselovwrote: > On Sun, Apr 1, 2018 at 2:51 PM, Pawel Veselov wrote: >> I want to re-use the same parameter twice. However, I'm seeing all >> kinds of behavior except for the one I want. This is with OpenJPA >> 2.4.2. > This seems to be broken in OpenJPA though. Especially if sub-queries > are involved. I traced this as much as I could, but I don't understand > the intend of the code. I've opened https://issues.apache.org/jira/browse/OPENJPA-2733, that contains the description, the test case, and a fix, though the fix still leaves some problems.