On Wed, 18 Dec 2002 03:32, you wrote:
> Rodney Schneider wrote:
> > Yes!  But Torque doesn't support optimistic locking :(
>
> Hmm, I guess it'd have to be a user extension -- that'd make a nice
> HOWTO :-)

Hi Laurie,

Can you think of a way to do this without having to change the dtd of 
the Torque database schema?

Hai Hoang proposed the following addition to the schema, but I don't 
think it was ever implemented...

<table name="HTG_SCHOOL" javaName="School" versionProperty="version">
  <column name="SCHOOL_ID" required="true" primaryKey="true"
          type="INTEGER"/>
  <column name="SCHOOL_NAME" required="true" size="99" type="VARCHAR"/>
  <column name="VERSION" type="INTEGER"/>
</table>

Notice the extra "versionProperty" attribute.

-- Rodney

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to