code: public Document getDocument(Long documentId) throws DataAccessException {
          try {
              db.openConnection();
              return this.getDocument(documentId, false);
          } catch (SQLException ex) {
              throw new DataAccessException("Failed to load document: " + documentId, ex);
          } finally {
              db.closeConnection();
          }
      }
docs: Not for update.  Opens a new connection.