openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <>
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.

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message