Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re[2]: ORDER -- was Re[2]: Sequences in OPS/RAC
Wednesday, November 5, 2003, 9:14:34 AM, Hemant K Chitale (hkchital_at_singnet.com.sg) wrote:
HKC> There are times when you cannot afford to lose CACHed values, as John HKC> Kanagaraj has pointed out HKC> in Oracle Applications when generating Cheque numbers. Such sequences HKC> required a patch in HKC> Oracle Apps 10.7 and 11 and/or creation with NOCACHE.
Would NOCACHE really prevent loss of sequence values? It seems to me that you could still find yourself in a situation where you grab NEXTVAL from a sequence, causing it to increment, and then you rollback your transaction. The sequence, of course, would not rollback, and you'd "lose" a value. I don't know any way around this problem using sequences. If it were a requirement not to lose any values, none at all, then I'd probably at least think about alternative solutions.
Best regards,
Jonathan Gennick --- Brighten the corner where you are http://Gennick.com * 906.387.1698 * mailto:jonathan@gennick.com
Join the Oracle-article list and receive one article on Oracle technologies per month by email. To join, visit http://four.pairlist.net/mailman/listinfo/oracle-article, or send email to Oracle-article-request_at_gennick.com and include the word "subscribe" in either the subject or body.
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Jonathan Gennick
INET: jonathan_at_gennick.com
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: ListGuru_at_fatcity.com (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). Received on Thu Nov 06 2003 - 08:04:25 CST
![]() |
![]() |