code: protected int fetchLastInsertedId (Connection conn, String table, String column)
          throws SQLException
      {
          throw new SQLException(
              "Unable to obtain last inserted id [table=" + table + ", column=" + column + "]");
      }
docs: Requests the last inserted id for the specified table and column. This is used if a JDBC
  driver does not support {@code getGeneratedKeys} or an attempt to use that failed.