@Override public void close() throws OntopOWLException { try { st.close(); } catch (OntopConnectionException e) { throw new OntopOWLException(e); } }
/** * Releases all the connection resources */ public void close() throws OntopConnectionException { if (tmpStatement != null) { tmpStatement.close(); } if (ontopConnection != null) { ontopConnection.close(); } }
tmpStatement.close(); } catch (OntopConnectionException e) { LOGGER.warn("Non-critical exception while closing the statement: " + e);