new Object[] {this});
IdentifierFactory idFactory = storeMgr.getIdentifierFactory();
Iterator pkColsIter = tablePkInfo.getChildren().iterator();
while (pkColsIter.hasNext())
{
PrimaryKeyInfo pkInfo = (PrimaryKeyInfo)pkColsIter.next();
String pkName = (String)pkInfo.getProperty("pk_name");
DatastoreIdentifier pkIdentifier;
if (pkName == null)
{
pkIdentifier = idFactory.newPrimaryKeyIdentifier(this);
}
else
{
pkIdentifier = idFactory.newIdentifier(IdentifierType.COLUMN, pkName);
}
PrimaryKey pk = (PrimaryKey) primaryKeysByName.get(pkIdentifier);
if (pk == null)
{
pk = new PrimaryKey(this);
pk.setName(pkIdentifier.getIdentifierName());
primaryKeysByName.put(pkIdentifier, pk);
}
int keySeq = (((Short)pkInfo.getProperty("key_seq")).shortValue()) - 1;
String colName = (String)pkInfo.getProperty("column_name");
DatastoreIdentifier colIdentifier = idFactory.newIdentifier(IdentifierType.COLUMN, colName);
Column col = columnsByName.get(colIdentifier);
if (col == null)
{