mirror of https://github.com/apache/openjpa.git
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:
parent
2e06715a63
commit
cb555369c7
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue