docs: @Override
  	public synchronized RecordScan insert(long sessionId, String scanName) throws DatabaseException {
          try {
  			psInsert.setLong(1, sessionId);
  			psInsert.setString(2, scanName);
  			psInsert.executeUpdate();
  			
  			int id;
  			try (ResultSet rs = psGetIdLastInsert.executeQuery()) {
  				rs.next();
  				id = rs.getInt(1);
  			}
  			return read(id);
  		} catch (SQLException e) {
  			throw new DatabaseException(e);
  		}
      }