XMLDirectMapping jdbcTypeMapping = new XMLDirectMapping();
jdbcTypeMapping.setAttributeName("m_jdbcType");
jdbcTypeMapping.setGetMethodName("getJdbcType");
jdbcTypeMapping.setSetMethodName("setJdbcType");
jdbcTypeMapping.setXPath("@jdbc-type");
descriptor.addMapping(jdbcTypeMapping);
XMLDirectMapping jdbcTypeNameMapping = new XMLDirectMapping();
jdbcTypeNameMapping.setAttributeName("m_jdbcTypeName");
jdbcTypeNameMapping.setGetMethodName("getJdbcTypeName");
jdbcTypeNameMapping.setSetMethodName("setJdbcTypeName");