{
colmd.setLength(getStoreManager().getOMFContext().getPersistenceConfiguration().getIntProperty("org.jpox.rdbms.stringDefaultLength"));
}
IdentifierFactory idFactory = getStoreManager().getIdentifierFactory();
DatastoreIdentifier colIdentifier = idFactory.newIdentifier(IdentifierFactory.COLUMN, colmd.getName());
Column col = (Column)addDatastoreField(null, colIdentifier, null, colmd);
TypeInfo typeInfo = dba.getTypeInfo(JDBCUtils.getJDBCTypeForName(colmd.getJdbcType()));
col.setTypeInfo(typeInfo);
if (unmappedColumns == null)
{
unmappedColumns = new HashSet();
}
if (JPOXLogger.DATASTORE.isDebugEnabled())
{
JPOXLogger.DATASTORE.debug(LOCALISER.msg("057011",
col.toString(), colmd.getJdbcType()));
}
unmappedColumns.add(col);
}
}
}