Rodney Schneider wrote:
Can you think of a way to do this without having to change the dtd of the Torque database schema?
I take it you mean as an extension to Torque to support optimistic locking for any class? I don't use Torque so I'm not the best person to ask :-) I was thinking about extending just the Torque generated class and/or peer.
Hai Hoang proposed the following addition to the schema, but I don't think it was ever implemented... [...] Notice the extra "versionProperty" attribute.
That looks like a possible way forward. Probably a solution that supports either integer serial numbers or date stamps (i.e. one or the other) would cover the bases for most applications.
A DTD change is probably OK if it's backwards compatible (e.g. through the addition of optional attributes).
L.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
