/** * Performs post-change database updates. */ public void complete() { CallableStatement updateStatement; try (ReleasableStatementContainer statementContainer = new ReleasableStatementContainer()) { updateStatement = statementContainer.add(dbCtx.prepareCall("{call osmosisUpdate()}")); updateStatement.executeUpdate(); } catch (SQLException e) { throw new OsmosisRuntimeException("Unable to invoke the osmosis update stored function.", e); } // Clear all action records. actionDao.truncate(); }