GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Oracle Apps  >  Basics
Go To First  |  Previous Question  |  Next Question 
 Basics  |  Question 54 of 98    Print  
What are Autonomous transactions ? Give a scenario where you have used Autonomous transaction in your reports ?

An autonomous transaction is an independent transaction started by another transaction, the main transaction. Autonomous transactions let you suspend the main transaction, do SQL operations, commit or roll back those operations, then resume the main transaction.
Once started, an autonomous transaction is fully independent. It shares no locks, resources, or commit-dependencies with the main transaction. So, you can log events, increment retry counters, and so on, even if the main transaction rolls back.

More important, autonomous transactions help you build modular, reusable software components. For example, stored procedures can start and finish autonomous transactions on their own. A calling application need not know about a procedure's autonomous operations, and the procedure need not know about the application's transaction context. That makes autonomous transactions less error-prone than regular transactions and easier to use.

Furthermore, autonomous transactions have all the functionality of regular transactions. They allow parallel queries, distributed processing, and all the transaction control statements including SET TRANSACTION.

Scenario : You can use autonomous transaction in your report for writing error messages in your database tables.




  
Total Answers and Comments: 1 Last Update: August 28, 2006   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 28, 2006 10:02:07   #1  
Pawan Ahuja        

RE: What are Autonomous transactions ? Give a scenario...

Hi to all

autonomous transaction is transaction that is used for independentle commited

basically it is used in triggers procedures

create or replace procedure ins_rec

pragma autonomous_transaction

begin

insert into aa1 values('pawan' 11);

commit;

end;

step 2

begin

insert into aa1 values('hello' 111);

ins_rec; ----call procedure

rollback;

end;

but here hello and 111 will be rollback.

but in ins_rec will be saved

regards

Pawan Ahuja


 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : Registering Oracle Reports:  Step 1: Register a concurrent program executable   Navigate to the Define Executable form (AOL Reference manual pg 9-84)   This determines the type of program being run,ie an Oracle Report. ...

Latest Answer : FND_CURRENCY is basic foundation class used to format currency. Ex. 1234556 By using above we can print it as  12,34,556 ...

Latest Answer : Order EnteredOrder BookedDispatch EligibleDispatchedPick Release EligiblePick ReleasedShip ConfirmInvoicedPosted in GL ...

The steps are as follows :Design your report.Generate the executable file of the report.Move the executable as well as source file to the appropriate product’s folder.Register the report as concurrent 
Latest Answer : STEP- ONE: Register the application.   STEP-TWO:   Put Report in appropriate server directory.           STEP-THREE:         Define Executables. (NavigatoràConcurrentàProgram ...

What are Autonomous transactions ? Give a scenario where you have used Autonomous transaction in your reports ?
An autonomous transaction is an independent transaction started by another transaction, the main transaction. Autonomous transactions let you suspend the main transaction, do SQL operations, commit or 

Triggers are used in forms for event handling. You can write PL/SQL code in triggers to respond to a particular event occurred in your forms like when user presses a button or when he commits the form.The 

There are two ways to use Flexfields in report. One way is to use the views (table name + ‘_KFV’ or ’_DFV’) created by apps, and use the concatenated_segments column which holds 
Latest Answer : Can use fnd.flexsql for retreiving data from the flex-fields in the report using lexical reference. ...

API - Application Program Interface is a PL/SQL call made to the application to create business transactions or events. This is an alternative to using the interface tables in applications to insert and 
Latest Answer : In Addition to Following :In ALL_OBJECTS Query for OBJECT_TYPE = 'PACKAGE'%PUB Are Public API's, in Short wrapper Over %PKG APIs. ...
Read Answers (1) | Asked by : sramchand

Latest Answer : There are 8 templates in Oracle Reports.1.Tabular 2.Group Above 3.Group Left 4.Mailing Label 5.Matrix 6.Matrix with Group 7.Form Like 8.Form LetterCheers!!!!!!! ...
Read Answers (2) | Asked by : RAVI SANKAR

Latest Answer :  Hi,  For the setup of Credit Cards, we have to initally set Credit Card Programs and Code Sets Window.  We are setting credit card programs for our enterprise's credit card and procurement card requirements.Set up Credit Card Program with ...


 Sponsored Links

 
Related Articles

Querying Data with Oracle XQuery

Querying Data with Oracle XQuery Starting with Oracle Database 10g Release 2 you can take advantage of a full featured native XQuery engine integrated with the database With Oracle XQuery you can accomplish various tasks involved in developing PHP Oracle XML applications operating on any kind of dat
 

Using Oracle XML DB Repository

Using Oracle XML DB Repository Another variation on accessing and manipulating XML content stored in Oracle database is provided by Oracle XML DB repository which is an essential component of Oracle XML DB mosgoogle NOTE Oracle XML DB repository also known as XML repository is a hierarchically organ
 

Using Oracle Database for Storing, Modifying, and Retrieving XML Data

Using Oracle Database for Storing Modifying and Retrieving XML Data With Oracle XML DB you have various XML storage and XML processing options allowing you to achieve the required level of performance and scalability One of the most interesting things about Oracle XML DB is that it allows you to per
 

XML Processing in PHP and Oracle Applications

Processing XML in PHP Oracle Applications As mentioned there are two alternatives when it comes to performing XML processing in your PHP Oracle application You can perform any required XML processing using either PHP s XML extensions or PEAR XML packages or Oracle s XML features mosgoogle In the fol
 

PHP Oracle Web Development

PHP Oracle Web Development Data processing Security Caching XML Web Services and Ajax The book is written by Yuli Vaseliev a well known author of different web development and programming books PHP Oracle Web Development Data processing Security Caching XML Web Services and Ajax is a good starting b
 

Getting Started with Oracle and ODP.NET

ODP NET Developer’ s Guide by Jagadish Chatarji Pulakhandam Sunitha Paruchuri A practical guide for developers working with the Oracle Data Provider for NET and the Oracle Developer Tools for Visual Studio 2005 Application development with ODP NET Dealing with XML DB using ODP NET Oracle
 

PHP Oracle Web Development Review

PHP Oracle Web Development Data processing Security Caching XML Web Services and Ajax The book is written by Yuli Vaseliev a well known author of different web development and programming books The author is also an expert in open source technologies and SOA Service Oriented Architecture But besides
 

Step by Step Oracle PL-SQL Tutorial

This introductory tutorial to PL SQL will help you to understand the basic concepts of PL SQL Please review the following tutorials and practice the sample SQL Statements on your local Oracle Database Please note that you must learn these basic things before we actually start getting in to Advanced
 

Working with XML in Oracle

Working with XML in Oracle Introduction to XML Extensive markup language is the language which presents data in a human readable form of text The data can be anything from a purchase order or a stock quote or weather radar or a flight schedule it can be represented using XML XML is very similar to H
 

On-Line Transaction Processing

On-Line Transaction Processing On-Line Transaction Processing is a processing that supports the daily business operations. Also know as operational processing and OLTP.  An OLTP is a database which must typically allow the real-time processing of SQL transactions to support traditional reta
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape