How does one do pessimistic locking with DataMapper, out of curiosity? Manually?
El 22/05/2011, a las 13:30, Xavier (DBIYF) escribió: > > > On 21/05/11 10:54 PM, Gazzy wrote: >> I'm trying to ensure there are no concurrency issues e.g. One person >> checks for availability and takes the last slot, but in the meantime, >> someone else has also checked availability, see 1 free slot and also >> decides to take the slot. >> > Mutex is not cross process, and even if it were you probably should be using > database locking. > > -- > You received this message because you are subscribed to the Google Groups > "DataMapper" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/datamapper?hl=en. > -- You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/datamapper?hl=en.
