Oracle DBMS_APP_CONT
Version 23c

General Information
Library Note Morgan's Library Page Header
ACE Director Alum Daniel Morgan, founder of Morgan's Library, is scheduling complimentary technical Workshops on Database Security for the first 30 Oracle Database customers located anywhere in North America, EMEA, LATAM, or APAC that send an email to asra_us@oracle.com. Request a Workshop for your organization today.
Purpose Used to provide an interface to determine if the in-flight transaction on a now unavailable session committed and if the last call on that session successfully completed.
AUTHID DEFINER
Constants
Name Data Type Value
General
COMMITTED NUMBER(1) 2
NOT_COMMITTED NUMBER(1) 1
Dependencies
DBMS_APP_CONT_LIB    
Documented Yes: Packages and Types Reference
Exceptions
Error Code Reason
-14950 err_server_ahead: the server is ahead, so the transaction is an old transaction and must have already been committed.
-14951 err_client_ahead: the client is ahead of the server. This can only happen if the server has been flashbacked or the  ltxid is corrupted. The outcome cannot be determined.
-14952 err_general_failure
First Available 12.1
Security Model Owned by SYS with EXECUTE granted to the DBA role
Source {ORACLE_HOME}/rdbms/admin/dbmsappcont.sql
 
GET_LTXID_OUTCOME
Allows customer applications and third party application servers to determine the transactional status of the last session when that session becomes unavailable dbms_app_cont.get_ltxid_outcome(
client_ltxid        IN  RAW,    -- LTXID for JDBC, LogicalTransactionId for ODP.net
committed           OUT BOOLEAN,
user_call_completed OUT BOOLEAN);
TBD

Related Topics
Built-in Functions
Built-in Packages
DBMS_APP_CONT_ADMIN
DBMS_APP_CONT_PRVT
DBMS_APP_CONT_REPORT
DBMS_WRR_INTERNAL
What's New In 21c
What's New In 23c

Morgan's Library Page Footer
This site is maintained by Dan Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2023 Daniel A. Morgan All Rights Reserved
  DBSecWorx