sqlTypeMapping.setAttributeName("sqlType");
sqlTypeMapping.setGetMethodName("getSqlType");
sqlTypeMapping.setSetMethodName("setSqlType");
sqlTypeMapping.setXPath(getPrimaryNamespaceXPath() + "@sql-typecode");
sqlTypeMapping.setNullValue(Integer.valueOf(NULL_SQL_TYPE));
NullPolicy nullPolicy = new NullPolicy();
nullPolicy.setNullRepresentedByEmptyNode(false);
nullPolicy.setNullRepresentedByXsiNil(false);
nullPolicy.setSetPerformedForAbsentNode(false);
nullPolicy.setMarshalNullRepresentation(XMLNullRepresentationType.ABSENT_NODE);
sqlTypeMapping.setNullPolicy(nullPolicy);
//NULL_SQL_TYPE
descriptor.addMapping(sqlTypeMapping);
XMLDirectMapping colDefMapping = new XMLDirectMapping();