Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-598

LP Bug: 1365821 - select (insert) with prepared stmt fails with rowset

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • None
    • 2.4
    • connectivity-dcs
    • None

    Description

      This came out of : https://answers.launchpad.net/trafodion/+question/253796

      "select syskey from (insert into parts values(?,?,?)) x" does not work as expected with a odbc rowset. A rowset with single row works, but with multiple rows in the rowset, no rows get inserted.

      The workaround is to execute the select after the insert rowset operation.

      It also fails with jdbc batch, t4 driver throws a "select not supported in batch" exception.

      Attachments

        Activity

          People

            ryzuo RuoYu Zuo
            saruna Aruna Sadashiva
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: