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/WorkingWithConventions ------------------------------------------------------------------------------ The DAS must know the primary key of a table in order to generate a correct INSERT, UPDATE or DELETE statement. The primary key definition can be provided in the configuration. However, if the tables follow the convention that the primary key is named "ID" then no configuration to define the key is necessary. In the absence of configuration to the contrary, the DAS will assume !DataObject property named "ID" represent the key column in the underlying database table. == Foreign Key Relationships == + Similar to the way promary keys are handled, the DAS will assume that a property named "xxx_ID" represents a foreign key column in the underlyng database and further, that this foreign key references table "xxx". If the applicaiton developer has the luxury of defining the database tables then the explicit definition of relationships via a config file is unneccessary if this convention can be followed. + + TBD - What is the default name of the relationship? == Name Mappings == --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
