Issue Details (XML | Word | Printable)

Key: OPENJPA-63
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Kevin Sutter
Reporter: Igor Fedorenko
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
OpenJPA

Better pessimistic lock support for DB2 v8.2+

Created: 04/Oct/06 06:16 PM   Updated: 01/Mar/07 02:20 AM
Return to search
Component/s: jdbc
Affects Version/s: None
Fix Version/s: 0.9.7

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works db2-selectForUpdate.patch 2006-10-04 06:19 PM Igor Fedorenko 3 kB
File Licensed for inclusion in ASF works db2-selectForUpdate2.patch.diff 2006-11-12 07:12 AM Igor Fedorenko 7 kB
Environment: IBM DB2 UDB v8.2 or later

Resolution Date: 01/Mar/07 02:20 AM


 Description  « Hide
There is new SELECT "FOR READ ONLY WITH RS USE AND KEEP EXCLUSIVE LOCKS" syntax in DB2 v8.2 and later that can be used to implement pessimistic locks for selects with multiple from tables, subselects, inner/outer joins and so forth. I'll attach simple patch shortly.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.