(ds, con, "INSERT INTO transition ("
+ "TransitionId, ProcessDBId, FromActivity, ToActivity, "
+ "TransGroup, TransOrder, CondType, TransCond) "
+ "VALUES (?, ?, ?, ?, ?, ?, ?, ?)");
while (it.hasNext()) {
TransitionLocal t = (TransitionLocal)it.next();
TransitionDefinitionLocal td = (TransitionDefinitionLocal)t;
try {
int offset = 1;
prepStmt.setString(offset++, t.id());
prepStmt.setLong(offset++,
((Long)ctx.getPrimaryKey()).longValue());
prepStmt.setLong
(offset++, Long.parseLong(t.from().key()));
prepStmt.setLong
(offset++, Long.parseLong(t.to().key()));
prepStmt.setString(offset++, td.group());
prepStmt.setInt(offset++, td.order());
prepStmt.setInt(offset++, td.conditionType());
prepStmt.setString(offset++, td.condition());
} catch (NumberFormatException re) {