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 KevinWilliams:
http://wiki.apache.org/ws/Tuscany/TuscanyJava/DAS_Java_Overview/RDBDAS_Java_User_Guide/Convention_over_configuration

------------------------------------------------------------------------------
- =Convention over configuration=
+ = Convention over configuration =
  
+ This concept reflects the notion that configuration (defining a bunch of 
stuff in a side file) can be avoided by following convetion (adhering to 
prescribed patterns) and that this is generally a good thing.  The RDB DAS has 
several reasonable conventions in place and using these can significantly 
reduce a developers work-load.
+ 
+ As an example, the RDB DAS must know how a !DataObject's properties map to a 
database table key in order to generate the INSERT/UPDATE and DELETE statements 
necessary to flush a data graphs to a database.  In typical Object/Relational 
mappings frameworks, this information is provided in a config file with 
something like this:
+ 
+ {{{
+    <Table tableName="COMPANY">
+       <Column columnName="ID" primaryKey="true"/>
+       .
+       .
+       .
+    </Table>
+ }}}
+ 

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

Reply via email to