Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4522957

Incorrect new method "setNull" in java.sql.CallableStatement (beta3)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • core-libs
    • rc1
    • generic
    • generic



      Name: rmT116609 Date: 11/05/2001


      c:\>java -version
      java version "1.4.0-beta3"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)
      Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)

      Bug is found in JDK 1.4 beta3 ( there is no drop-down choice for beta3)

      In JDK 1.4 beta3, the java.sql package now contains the JDBC 3.0 functionality.
      CallableStatement.java contains the new JDK 1.4 method:

      void setNull(int paramIndex, int sqlType, String typeName)
      throws SQLException;

      However, this method is already defined in PreparedStatement.java!
        From the surrounding context, I think the new JDK 1.4 method signature in
      CallableStatement.java should be:

      void setNull(String parameterName, int sqlType, String typeName)
      throws SQLException;
      (Review ID: 135025)
      ======================================================================

            jbrucesunw Jonathan Bruce (Inactive)
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: