478479480481482483484485486487488489
{ DBTable table = seqtabs.next(); Iterator<DBColumn> cols = table.getColumns().iterator(); while (cols.hasNext()) { DBTableColumn c = (DBTableColumn) cols.next(); if (c.getDataType() == DataType.AUTOINC) { createSequence(db, c, script); } } }