code: @Override
  	public synchronized RecordAlert read(int alertId) throws DatabaseException {
      	SqlPreparedStatementWrapper psRead = null;
          try {
  		    psRead = DbSQL.getSingleton().getPreparedStatement("alert.ps.read");
  			psRead.getPs().setInt(1, alertId);
  			try (ResultSet rs = psRead.getPs().executeQuery()) {
  				return build(rs);
  			}
  		} catch (Exception e) {
  			throw new DatabaseException(e);
  		} finally {
  			DbSQL.getSingleton().releasePreparedStatement(psRead);
  		}
      }
docs: /* (non-Javadoc)
  @see org.parosproxy.paros.db.paros.TableAlert#read(int)