Hi Kevin

  This sounds like a good aproach for one of the ways to support OCC in
DAS. Should we also have this aproach documented in our Wiki as a reference
?

- Luciano

On 8/30/06, Kevin Williams <[EMAIL PROTECTED]> wrote:

Currently, in the absence of otherwise conflicting, explicit
configuration, we assume that any DO property named "id" will map to a
primary key column in the database.  Likewise a property name of the
form "x_id" maps to a foreign key column that references some row in
table "x".

I would like to add another "auto configuration" convention for the RDB
DAS for "collision" properties.  So, any DO property with the name
"occ_count" will be assumed to map to an integer table column that is
used for optimistic concurrency control.  This column will then be used
to overqualify any related UPDATE statements for that table.  In the
future, we may want to add support for "occ_timestamp", etc.

Any comments?

Thanks,

--Kevin


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




--
-----------------------------------------------------
Luciano Resende
SOA Opensource - Apache Tuscany
-----------------------------------------------------

Reply via email to