1 Reply Latest reply: Jan 29, 2013 4:22 PM by Timo Hahn RSS

    How to get primary key after import through readXml

    Aacc-Oracle
      I import xml into table through vo.readXml(). the insert works fine.
      how can I get the primary key back after readXml() but before commit the transaction?
      The primary key is a generated value defined in view object.

      is it ok to use vo.getCurrentRow() to get hold off the last inserted/updated row affected by readXml()? in another word, is the after call readXml(), is the affected row become the current row? assume the readXml in this case only insert ONE row.
      Thanks.