Go through the fields in declaration order when doing the migration otherwise

we might try to add a field after a field that we haven't yet added.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1941 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2006-10-11 02:46:41 +00:00
parent 57b795b6ab
commit 66b86adbe9
@@ -317,7 +317,8 @@ public class DepotMarshaller<T>
columns.add(rs.getString("COLUMN_NAME"));
}
for (FieldMarshaller fmarsh : _fields.values()) {
for (String fname : _allFields) {
FieldMarshaller fmarsh = _fields.get(fname);
if (columns.contains(fmarsh.getColumnName())) {
continue;
}