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

Clarify PreparedStatement.getParameterMetaData

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 1.4.1
    • core-libs
    • b81
    • generic
    • generic

      The following changes have been made to clarify the intent of getParameterMetaData method
      getParameterMetaData
      ParameterMetaData getParameterMetaData()
                                            throws SQLException

                  Retrieves the number, types and properties of this PreparedStatement object's parameters.
                  Returns:
                              a ParameterMetaData object that contains information about the number, types and properties for each parameter marker of this PreparedStatement object Throws:
                              SQLException - if a database access error occurs or this method is called on a closed PreparedStatement Since:
                              1.4


      java.sql
      Interface ParameterMetaData
      All Superinterfaces:

                  Wrapper


      public interface ParameterMetaData
      extends Wrapper

      An object that can be used to get information about the types and properties for each parameter marker in a PreparedStatement object. For some queries and driver implementations, the data that would be returned by a ParameterMetaData object may not be available until the PreparedStatement has been executed.

      Some driver implementations may not be able to provide information about the types and properties for each parameter marker in a CallableStatement object.

      Since:

                  1.4

            lancea Lance Andersen
            lancea Lance Andersen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: