SQL_ODBC_DATE = 9;
public static CROM createCromTree(String jtrFileName){
File file = new File(jtrFileName);
MappingTreeStructure jtr = MappingTreeStructureFactory.fromFile(file, BackendEncoding.getCharsetForReading());
CROM_Tree tree = new CROM_Tree();
try {
tree.parse(jtr);
} catch (CromTreeException e) {
String err = getJtrParsingErrorMessage(jtrFileName, e);
throw new RuntimeException(err, e);
}
if (tree.getRoot() == null) {
String err = getJtrParsingErrorMessage(jtrFileName, null);
throw new RuntimeException(err);
}
CROM.translateFromOdbcDateType(tree.getRoot());
return tree.getRoot();
}