public void parse(URL url) throws IOException { // peek at the doc to determine the version XMLVersionParser vp = new XMLVersionParser("entity-mappings"); try { vp.parse(url); _ormVersion = vp.getVersion(); _schemaLocation = vp.getSchemaLocation(); } catch (Throwable t) { Log log = getLog(); if (log.isInfoEnabled()) log.trace(_loc.get("version-check-error", url.toString())); } super.parse(url); }
public void parse(File file) throws IOException { // peek at the doc to determine the version XMLVersionParser vp = new XMLVersionParser("entity-mappings"); try { vp.parse(file); _ormVersion = vp.getVersion(); _schemaLocation = vp.getSchemaLocation(); } catch (Throwable t) { Log log = getLog(); if (log.isInfoEnabled()) log.trace(_loc.get("version-check-error", file.toString())); } super.parse(file); } /**
public void parse(URL url) throws IOException { // peek at the doc to determine the version XMLVersionParser vp = new XMLVersionParser("entity-mappings"); try { vp.parse(url); _ormVersion = vp.getVersion(); _schemaLocation = vp.getSchemaLocation(); } catch (Throwable t) { Log log = getLog(); if (log.isInfoEnabled()) log.trace(_loc.get("version-check-error", url.toString())); } super.parse(url); }
public void parse(URL url) throws IOException { // peek at the doc to determine the version XMLVersionParser vp = new XMLVersionParser("entity-mappings"); try { vp.parse(url); _ormVersion = vp.getVersion(); _schemaLocation = vp.getSchemaLocation(); } catch (Throwable t) { Log log = getLog(); if (log.isInfoEnabled()) log.trace(_loc.get("version-check-error", url.toString())); } super.parse(url); }
public void parse(URL url) throws IOException { // peek at the doc to determine the version XMLVersionParser vp = new XMLVersionParser("entity-mappings"); try { vp.parse(url); _ormVersion = vp.getVersion(); _schemaLocation = vp.getSchemaLocation(); } catch (Throwable t) { Log log = getLog(); if (log.isInfoEnabled()) log.trace(_loc.get("version-check-error", url.toString())); } super.parse(url); }
public void parse(File file) throws IOException { // peek at the doc to determine the version XMLVersionParser vp = new XMLVersionParser("entity-mappings"); try { vp.parse(file); _ormVersion = vp.getVersion(); _schemaLocation = vp.getSchemaLocation(); } catch (Throwable t) { Log log = getLog(); if (log.isInfoEnabled()) log.trace(_loc.get("version-check-error", file.toString())); } super.parse(file); } /**
public void parse(File file) throws IOException { // peek at the doc to determine the version XMLVersionParser vp = new XMLVersionParser("entity-mappings"); try { vp.parse(file); _ormVersion = vp.getVersion(); _schemaLocation = vp.getSchemaLocation(); } catch (Throwable t) { Log log = getLog(); if (log.isInfoEnabled()) log.trace(_loc.get("version-check-error", file.toString())); } super.parse(file); } /**
public void parse(File file) throws IOException { // peek at the doc to determine the version XMLVersionParser vp = new XMLVersionParser("entity-mappings"); try { vp.parse(file); _ormVersion = vp.getVersion(); _schemaLocation = vp.getSchemaLocation(); } catch (Throwable t) { Log log = getLog(); if (log.isInfoEnabled()) log.trace(_loc.get("version-check-error", file.toString())); } super.parse(file); } /**