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

------------------------------------------------------------------------------
     </Table>
  }}}
  
- However, the RDB DAS understands is that, in the absence of user provided 
cofiguration data, if a !DataObject has a property named "ID" then it can 
assume that it maps to a key column in the database.  If a developer follows 
this convention (naming key columns in database tables "ID") then this 
key-mapping information need not be specified in a configuration file.
+ However, the RDB DAS understands is that, in the absence of user provided 
cofiguration data, a !DataObject property named "ID" maps to a key column named 
"ID" in the database.  If a developer follows this convention (naming key 
columns "ID") then this key-mapping information need not be specified in a 
configuration file.
  
+ The RDB DAS also has convention in place for mapping !DataObject 
relationships.  If a database table (yyy) has a column named xxx_ID then the 
DAS will assume, in the absence of config data to the contrary, that there is a 
one-to-many relationship from table xxx to table yyy and that the key column 
for table xxx is named "ID".
+ 
+ There is more "convention over configuration" coming.  We are currently 
looking into support for optimistic concurrency control conventions and other 
areas.
+ 

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

Reply via email to