1 Reply Latest reply on Jan 29, 2013 10:22 PM by Timo Hahn

    How to get primary key after import through readXml

      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.