openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <ppod...@apache.org>
Subject Re: Inconsistent execution order of INSERT statements using cascading persist
Date Mon, 12 Apr 2010 12:04:10 GMT

Set<T> does not impose ordering of its element. List<T> does.

To impose ordering the field type could be declared as List<>.

JPA 2.0 also allows a column to designate as an ordering element.

-----
Pinaki 
-- 
View this message in context: http://n2.nabble.com/Inconsistent-execution-order-of-INSERT-statements-using-cascading-persist-tp678745p4889645.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message