OPENJPA-567. Committing on behalf of Vikram Bhatia.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@651166 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Patrick Linskey 2008-04-24 06:15:28 +00:00
parent 2e06715a63
commit cb555369c7
1 changed files with 1 additions and 1 deletions

View File

@ -472,7 +472,7 @@ public abstract class StoreCollectionFieldStrategy
// load values
Result res = union.execute(store, fetch);
try {
int seq = 0;
int seq = -1;
while (res.next()) {
if (ct != null && field.getOrderColumn() != null)
seq = res.getInt(field.getOrderColumn());