Patents
US 8,166,009 B2#23850631 Most CitedActiveUnited States (USPTO)Utility

Method and apparatus for optimistic locking using SQL select, update, delete, and insert statements

4Forward Citations (#23850631 Global)
0.3/yrCitation Velocity (#26169474 Global)
1.54Citation PageRank (#21876125 Global)
30Prior Art Cited
2Claims (2 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method, computer program product and data processing system for optimistic locking. An integer column is added to a database table. A Structured Query Language statement is constructed and prepared to form a prepared Structured Query Language statement, wherein a result set of the prepared Structured Query Language statement includes the integer column. Any required parameter information is set in the prepared Structured Query Language statement. The prepared Structured Query Language statement is executed in a database transaction. A unique key associated with an element of the result set of the prepared Structured Query Language statement is determined. The row of the database table that the unique key is associated with is determined. A value in the integer column of the determined row is determined. The value in the integer column of the determined row is stored to form a stored value associated with the unique key, wherein the stored value ceases to exist when the database transaction ends.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 30 · Forward citations: 4.

Claims (2 — 2 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer implemented method for providing optimistic locking in a database containing a plurality of data records, comprising: providing a variable optimistic locking value for each data record; deleting a data record identified by a first key during a database transaction; storing a current value of the optimistic locking value of the deleted data record during the database transaction; during the same database transaction, inserting a data record identified by a second key; when the second key is the same as the first key, setting the optimistic locking value for the inserted record to the

  2. Claim 2Independent Claim

    The method of

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (30)

PatentTitleYearCitations
US 5,499,356 AMethod and apparatus for a multiprocessor resource lockout instruction199642
US 5,519,859 AMethod and apparatus for automatic table selection and generation of structured query language instructions1996138
US 5,560,007 AB-tree key-range bit map index optimization of database queries1996224
US 5,742,813 AMethod and apparatus for concurrency in an object oriented database using lock inheritance based on class objects1998133
US 5,870,743 AMethod and apparatus for parallelizing operations that create a table199974
US 5,870,765 ADatabase synchronizer1999284
US 5,887,181 AMethod and apparatus for reducing a computational result to the range boundaries of an unsigned 8-bit integer in case of overflow19997
US 5,960,438 AClass hierarchy for object aggregation representation of relational database rows with cells having nontraditional datatypes199940
US 6,128,588 AIntegrated wafer fab time standard (machine tact) database2000119
US 6,189,010 B1Method for repairing constraint violations in a database management system200133
US 6,240,413 B1Fine-grained consistency mechanism for optimistic concurrency control using lock groups2001171
US 6,243,709 B1Method and apparatus for loading stored procedures in a database corresponding to object-oriented data dependencies200193
US 2001007986 A1Database processing method—4
US 6,401,103 B1Apparatus, method, and article of manufacture for client-side optimistic locking in a stateless environment200232
US 2002099559 A1Non-persistent non-shareable system database instance for a single invocation of an application process in a relational database management system—17
US 6,457,021 B1In-memory database system2002156
US 6,574,636 B1Method and article of manufacture for isolating data within a computer program200340
US 6,606,618 B2Method for optimizing the performance of a database200334
US 2003233356 A1User interface for facilitating interaction between a user and an information system—11
US 6,714,943 B1Method and mechanism for tracking dependencies for referential integrity constrained tables200466
US 2004167878 A1Systems, methods, and software for preventing redundant processing of transmissions sent to a remote host computer—20
US 6,850,938 B1Method and apparatus providing optimistic locking of shared computer resources2005355
US 2005097561 A1System and method for data transformation using dataflow graphs—84
US 2005138375 A1Method and apparatus providing optimistic locking of shared computer resources—70
US 6,993,770 B1Lock free reference counting200665
US 2006136422 A1Multiple bindings in web service data connection—27

Non-Patent Literature (5)

  • Sunderraman, "Oracle Programming: A Primer", Addison-Wesley, Reading, Massachusetts, Oct. 1998, 8 pages.
  • USPTO Final Office Action dated Aug. 27, 2008 for U.S. Appl. No. 11/340,995.
  • USPTO Final Office Action dated Aug. 3, 2009 for U.S. Appl. No. 11/340,995.
  • USPTO Notice of Allowance dated Dec. 4, 1999 for U.S. Appl. No. 11/340,995.
  • USPTO Office Action dated Feb. 13, 2009 for U.S. Appl. No. 11/340,995.