Re: [OS-JIRA] Created: (CAY-276) No optimistic locking support for delete

From: Mike Kienenberger (mkienen..laska.net)
Date: Wed Feb 16 2005 - 11:27:22 EST

  • Next message: Cris Daniluk: "Expression chains"

    webobject..atos.de wrote:
    > it makes sense.
    > 1. you read 100 package in the store.
    > 2. you want to delete the row.
    > 3. I change the number to 1000.
    > 4. you think u delete 100!!
    >
    > this is bad. you delete something you don't know.
    > Sako.
    >
    > ----- Original Message -----
    > From: "Gentry, Michael (Contractor)" <michael_gentr..anniemae.com>
    > To: <cayenne-deve..bjectstyle.org>
    > Sent: Wednesday, February 16, 2005 5:07 PM
    > Subject: RE: [OS-JIRA] Created: (CAY-276) No optimistic locking support
    for
    > delete
    >
    >
    > Do you really care if the values changed if you are tossing the row,
    > anyway?

    Yeah, or if you're processing and deleting records from a table (using it
    like a queue). You don't want to delete the record if some other process
    has updated it since you read it in.

    -Mike



    This archive was generated by hypermail 2.0.0 : Wed Feb 16 2005 - 11:26:41 EST