Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-315

jdbcapi/rsgetXXXcolumNames fails with DerbyNet framework

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 10.1.1.0
    • None
    • Test
    • None

    Description

      Running derbyall off a clean build of the trunk, and jdbcapi/rsgetXXXcolumnNames failed when running with DerbyNet. It passes fine with embedded and with DerbyNetClient.

      I get an error:

      FAIL – unexpected exception
      SQLSTATE(42X01): Syntax error: Encountered "(" at line 1, column 26.
      com.ibm.db2.jcc.c.SqlException: Syntax error: Encountered "(" at line 1, column 26.

      looking at derby.log, I see that the following statement is causing the problem (I put a "^" where the syntax error occurs)

      UPDATE APP.CASEISCOL SET (COL1,col1) = (?,?) WHERE CURRENT OF SQL_CURSH200C1
      ^

      Attachments

        Activity

          People

            Unassigned Unassigned
            davidvc David Van Couvering
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: