Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ws Wiki" for change 
notification.

The following page has been changed by lresende:
http://wiki.apache.org/ws/Tuscany/TuscanyJava/DAS_Java_Overview/convention_over_configuration

New page:
== Convention over Configuration ==

'''Overview'''

Convention Over Configuration (CoC), as it is defined in wikipedia, it’s 
defined as “the programmer only needs to specifically configure what is 
unconventional.” 

Below you can find a list of conventions supported by DAS.

'''ID Column'''

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".

'''OCC - Optimistic concurrency control 
(http://en.wikipedia.org/wiki/Optimistic_locking)'''

For "collision" properties, 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.

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

Reply via email to