If possible, I too would like a better clarification of the use of
lockTable, since the DBAdapter dev documentation is a bit ambiguous as to
when to implement the lockTable methods.

> others dont contain this method or implement
I did notice that some are subclasses of another adapter that implement the
methods.

Thanks,
Ben

-----Original Message-----
From: Michael Beier [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 6:23 AM
To: [EMAIL PROTECTED]
Subject: lockTable Method


Hi,

There is a lockTable method in the DB-adapter classes (not in all, only
Oracle, Sapdb and Sybase seems to have used copy and paste, others dont
contain this method or implement it correctly (to make a correct lock table
statement)) , this contains a fixed statement "SELECT next_id FROM". This
can only work on the ID_table, because only there is a column next_id.

This should be "SELECT * FROM" (at least in Oracle and Sybase(respective
MSSQL)) to work for all tables.

Can someone confirm this and maybe correct it ?

Or is it so by design?(Why?)

Michael Beier

[EMAIL PROTECTED]


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

Reply via email to