Hi Looks like it's time to read some fine manuals again ;). So in a scenario like this:
a) INSERT ... RETURN without the PK is done from Java b) BEFORE INSERT TRIGGER adds the PK, then does the actual insert. c) PK is returned to Java context ? .. c) works ? I'm not sure about that. Figured I just ask, before I actually go ahead and try it out. Stefan -----Urspr�ngliche Nachricht----- Von: Igor Neyman [mailto:[EMAIL PROTECTED] Gesendet: Montag, 10. November 2003 18:54 An: Multiple recipients of list ORACLE-L Betreff: RE: How do you generate primary keys? True, Just in this case "insert" was a point of discussion. Igor Neyman, OCP DBA [EMAIL PROTECTED] -----Original Message----- Jamadagni, Rajendra Sent: Monday, November 10, 2003 11:34 AM To: Multiple recipients of list ORACLE-L .. and for updates,delets as well ... ------------------------------------------------------------------------ -------- Rajendra dot Jamadagni at nospamespn dot com All Views expressed in this email are strictly personal. QOTD: Any clod can have facts, having an opinion is an art ! -----Original Message----- Sent: Monday, November 10, 2003 11:24 AM To: Multiple recipients of list ORACLE-L Oracle has "RETURNING" clause for insert. Igor Neyman, OCP DBA [EMAIL PROTECTED] ************************************************************************ ************** This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 and delete this e-mail message from your computer, Thank you. ************************************************************************ **************5 -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Jamadagni, Rajendra INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Igor Neyman INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Stefan Jahnke INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
