Hi, I see a number of inconsistencies in the OpenJPA Junit testcases concerning the usage of the @PersistentCollection annotation on a java.util.List variable without the @OrderBy annotation. If I'm interpreting this scenario correctly, without the @OrderBy annotation there is no column in the database used for ordering when retrieving the List back into memory, and thus there can be no assumption made about that order in the testcase. This appears to be why these testcases work on some database and not others (e.g., works on Derby, fails on PostgreSQL). Am I interpreting it correctly ?? Or am I missing something obvious ??

--
Thanks,
Tim McConnell

Reply via email to