if ( url != null )
{
String mappingFile = targetDir + "/" + jdbcMappingUri.substring( jdbcMappingUri.lastIndexOf( "/" ) + 1 );
Mappings maps = getMappings( jdbcMappingUri.substring( 0, jdbcMappingUri.indexOf( "!" ) )
, jdbcMappingUri.substring( jdbcMappingUri.indexOf( "!" ) + 1 )
, mappingFile );
if ( tempType != null && MAPPINGS != null )
{
String name = tempType.getName();
String pack = tempType.getPackage().getName();
String datatype = pack+"::"+name;
Mapping mapping = maps.getMapping( datatype );
jdbcType = mapping.getTo();
}
}
return jdbcType;