openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From michaelwiles <michaelwi...@gmail.com>
Subject OrderColumn not working in one to many with mappedBy
Date Thu, 10 Jul 2014 12:16:53 GMT
I have a "regular" one to many. It has an OrderColumn annotation.



This mapping when I run my tests I see the order column called
elementsWithOrder_ORDER getting updated.

However, the following mapping (with a mappedBy) I don't see the order
column being updated...



The mappedby field looks as follows:



If you switch the persistence provider to Eclipselink the tests pass.

I have created a  github project
<https://github.com/michaelwiles/OpenJpaBugs>   to demonstrate this.

I'm assuming this is in fact a bug because surely using "mappedBy" shjould
not stop ordered lists from working.

Btw, this is run on OpenJPA 2.3.0







--
View this message in context: http://openjpa.208410.n2.nabble.com/OrderColumn-not-working-in-one-to-many-with-mappedBy-tp7586930.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message