final int pad_attribute = 3;
//
// Intermediate holders
Iterator collations;
Collation collation;
String collationName;
String collationSchema;
String padAttribute = "PAD SPACE";
Object[] row;
collations = database.schemaManager.databaseObjectIterator(
SchemaObject.COLLATION);
while (collations.hasNext()) {
row = t.getEmptyRowData();
collation = (Collation) collations.next();
collationSchema = collation.getSchemaName().name;
collationName = collation.getName().name;
row[collation_catalog] = database.getCatalogName().name;
row[collation_schema] = collationSchema;
row[collation_name] = collationName;
row[pad_attribute] = collation.isPadSpace() ? "PAD SPACE"
: "NO PAD";
t.insertSys(session, store, row);
}