|
What I was after was a way to build a list
of transactions that are available to edit for a user. What I don’t want in the list is any
transactions that are currently being edited by another user. I think that I am back to comparing the
last update timestamp on the row, the first timestamp is pulled from the
database when the user selects the transaction and then on
the update of the transaction adding the last update that was pulled to the
where clause, if I get an exception that that row doesn’t exist, it is because
it was updated by another user in the time since this user selected it for
edit. Danny Gallagher The Gainer Group 6525 The From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Hi Danny, On Jan 5, 2006, at 11:14 AM, Danny wrote:
Is there a way on a select statement to select all rows that match the
where clause criteria, except for any rows that are locked? I hope not. That's not the way I understand databases are supposed to
work. The result of a query is not dependent on the state of the internal
exclusion mechanisms. Perhaps what you want is "dirty read" (isolation level 0)
where the select statement is not blocked by any locks... Craig Danny Gallagher The Gainer Group 6525 The Craig Russell Architect, Sun Java Enterprise
System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp! |
- RE: Select records that are not locked? Danny
- Re: Select records that are not locked? Bryan Pendleton
- Re: Select records that are not locked? Craig L Russell
- Reading blobs larger than a certain siz... Grégoire Dubois
- Re: Reading blobs larger than a cer... Daniel John Debrunner
- Re: Reading blobs larger than ... Grégoire Dubois
- Re: Reading blobs larger t... Daniel John Debrunner
- Re: Reading blobs larg... Grégoire Dubois
- SELECT very slow when ... Grégoire Dubois
- Re: SELECT very slow w... Sunitha Kambhampati
- Re: SELECT very slow w... Grégoire Dubois
