title: Getting the primary key value after a merge command?
body: <p>Is there some way to get a value from the last inserted or updated row?</p>
  
  <p>I am using the merge command to do an insert or an update if the row exists.  I know how to get the autogenerated key after an insert but can I get the primary key if I use the merge command?</p>
  
  <p>I'm using Java with JDBC and Oracle DB.</p>