if (colmd.getJdbcType().equals("VARCHAR") && colmd.getLength() == null)
{
colmd.setLength(storeMgr.getIntProperty("datanucleus.rdbms.stringDefaultLength"));
}
IdentifierFactory idFactory = getStoreManager().getIdentifierFactory();
DatastoreIdentifier colIdentifier = idFactory.newIdentifier(IdentifierType.COLUMN, colmd.getName());
Column col = (Column)addDatastoreField(null, colIdentifier, null, colmd);
SQLTypeInfo sqlTypeInfo = storeMgr.getSQLTypeInfoForJDBCType(
JDBCUtils.getJDBCTypeForName(colmd.getJdbcType()));
col.setTypeInfo(sqlTypeInfo);