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

setObject()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 8.0pe
    • core-libs
    • sparc
    • solaris_8

      For example, the JDBC standard has the setObject (int index, Object o, int targetSqlType) method. Is the chart supposed to reflect the kind of column that can be reasonably expected to hold a value sent in via this method? That is, if I do setObject(1, obj, Types.LONGVARCHAR) on Oracle, I can expect that the database will try to insert an Oracle LONG datatype?
      Is the chart two ways? That is, if I select from an Oracle LONG column, should I expect to get back a value with a java.sql.Type of LONGVARCHAR?

      ###@###.### 2004-02-02

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: