optimistic offline locking using a timestamp column
4 views
Skip to first unread message
Gernot
unread,
Dec 3, 2009, 12:25:26 PM12/3/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Rails SQLServer Adapter
Hi
I have the following problem: We have a large legacy database on MS
SQL Server 2005. Each table uses a timestamp column to implement
optimistic offline locking. We want to build a rails application that
uses this database as is. Is there a way that rails can use the
timestamp columns for its own locking magic?
Setting the lock column with "set_locking_column" doesn't do the
trick. The timestamp columns have to stay since there is another app
that uses this database and we cannot modify it.