# US 2021/0240658 A1 · Handling faulted database transaction records

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0240658 A1
- Document ID: US20210240658A1
- Status: Published application
- Kind: A1
- Application number: 16/780,862
- Filed: 2020-02-03
- Published: 2021-08-05
- Earliest claimed: 2020-02-03
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Rama Krishna Surendra Nath Nukala Venkata Naga
- Web page: https://patentgrep.com/patent/US20210240658A1

## CPC

- G06F 16/122: {using management policies (point-in-time backing up or restoration of persistent data G06F11/1446; file migration policies for HSM systems G06F16/185)}
- G06F 16/2379: {Updates performed during online database operations; commit processing}
- G06F 16/1865: {Transactional file systems}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Database transaction records that are received for committing data to a database may be associated with one or more validation tasks. When one of the validation tasks fails, the fault is detected and processing of the transaction record is halted. Instead of terminating the transaction record and requiring the submitting system to reinitiate the process, the system may use a mapping table to determine whether an automatic resubmission is possible. A new transaction record may be generated that copies an invocation context from the original transaction record, and portions of the transaction payload may be copied to the new transaction record with changes that ensure the new transaction record will pass the validation tasks. The new transaction record can then be submitted through the same interface that received the original transaction record, and the original transaction record can be removed from a transaction data store.

## Claims

### Claim 1

A non-transitory computer-readable medium comprising instructions that, when executed by one or more processors, causes the one or more processors to perform operations comprising:
receiving a first transaction to be committed to a database, wherein the first transaction requires one or more validations before being committed to the database;
writing a transaction object to a transaction data store, wherein the transaction object comprises an invocation context for the first transaction;
submitting the first transaction to a process for performing the one or more validations;
determining that at least one of the one or more validations for the first transaction failed;
retrieving the transaction object from the transaction data store;
copying the invocation context from the transaction object to a second transaction; and
submitting the second transaction to the process for performing the one or more validations.

### Claim 2 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the invocation context for the first transaction comprises a user context for a user account that submitted the first transaction.

### Claim 3 (depends on 2)

The non-transitory computer-readable medium of claim 2, wherein the user context comprises a user name, a user identifier, and a creation time.

### Claim 4 (depends on 2)

The non-transitory computer-readable medium of claim 2, wherein the second transaction is submitted to the process for performing the one or more validations by an administrative account that is different from the user account.

### Claim 5 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the operations further comprise copying a transaction payload from the transaction object to the second transaction.

### Claim 6 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein submitting the second transaction to the process for performing the one or more validations comprises:
generating an event to notify a Service Oriented Architecture (SOA) system such that the SOA causes one or more Business Process Execution Language (BPEL) processes to perform the one or more validations.

### Claim 7 (depends on 6)

The non-transitory computer-readable medium of claim 6, wherein the operations further comprise:
sending an indication to an SOA fault handler when the one or more BPEL processes determine that at least one of the one or more validations for the first transaction failed.

### Claim 8 (depends on 7)

The non-transitory computer-readable medium of claim 7, wherein the operations further comprise:
writing, by the SOA fault handler, an indication that the one or more validations for the first transaction failed to the transaction object in the transaction data store.

### Claim 9 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the operations further comprise:
determining that each of the one or more validations for the second transaction was successful; and
causing the second transaction to be committed to the database.

### Claim 10 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the operations further comprise:
writing a second transaction object for the second transaction to the transaction data store.

### Claim 11 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the operations further comprise, after determining that at least one of the one or more validations for the first transaction failed:
determining a runtime status of the first transaction; and
determining that the runtime status of the first transaction allows the second transaction to be submitted.

### Claim 12 (depends on 11)

The non-transitory computer-readable medium of claim 11, wherein the runtime status of the first transaction indicates that the first transaction is in progress, and an SOA composite instance or BPEL task is in an error condition.

### Claim 13 (depends on 11)

The non-transitory computer-readable medium of claim 11, wherein the runtime status of the first transaction indicates that the first transaction is submitted, and an event notifying an SOA system has been generated, but an SOA composite instance or BPEL task has not yet been created.

### Claim 14 (depends on 11)

The non-transitory computer-readable medium of claim 11, wherein determining that the runtime status of the first transaction allows the second transaction to be submitted comprises:
accessing a data table that comprises a list of transaction statuses with corresponding transaction requirements to submit new transactions based on existing transactions.

### Claim 15 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the operations further comprise terminating the first transaction and clearing the transaction object from the transaction data store.

### Claim 16 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein determining that at least one of the one or more validations for the first transaction failed comprises:
monitoring the transaction object in the transaction data store and an indication that the one or more validations for the first transaction failed generated by an SOA fault handler.

### Claim 17 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein determining that at least one of the one or more validations for the first transaction failed comprises:
generating a transaction console application that provides a list of transactions to be committed to the database;
receiving a selection of the first transaction through the transaction console application; and
displaying a runtime status of the first transaction in the transaction console application.

### Claim 18 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the one or more validations comprise receiving an authorization from a user allowing the first transaction to be committed to the database.

### Claim 19

A system comprising:
one or more processors; and
one or more memory devices comprising instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
receiving a first transaction to be committed to a database, wherein the first transaction requires one or more validations before being committed to the database;
writing a transaction object to a transaction data store, wherein the transaction object comprises an invocation context for the first transaction;
submitting the first transaction to a process for performing the one or more validations;
determining that at least one of the one or more validations for the first transaction failed;
retrieving the transaction object from the transaction data store;
copying the invocation context from the transaction object to a second transaction; and
submitting the second transaction to the process for performing the one or more validations.

### Claim 20

A method of resubmitting faulted database transaction records, the method comprising:
receiving a first transaction to be committed to a database, wherein the first transaction requires one or more validations before being committed to the database;
writing a transaction object to a transaction data store, wherein the transaction object comprises an invocation context for the first transaction;
submitting the first transaction to a process for performing the one or more validations;
determining that at least one of the one or more validations for the first transaction failed;
retrieving the transaction object from the transaction data store;
copying the invocation context from the transaction object to a second transaction; and
submitting the second transaction to the process for performing the one or more validations.
