You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tf...@apache.org on 2014/09/24 02:04:48 UTC

svn commit: r1627180 - /db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/orm-reference/defining-the-schema.xml

Author: tfischer
Date: Wed Sep 24 00:04:48 2014
New Revision: 1627180

URL: http://svn.apache.org/r1627180
Log:
TORQUE-278 add documentation

Modified:
    db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/orm-reference/defining-the-schema.xml

Modified: db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/orm-reference/defining-the-schema.xml
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/orm-reference/defining-the-schema.xml?rev=1627180&r1=1627179&r2=1627180&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/orm-reference/defining-the-schema.xml (original)
+++ db/torque/torque4/trunk/torque-site/src/site/xdoc/documentation/orm-reference/defining-the-schema.xml Wed Sep 24 00:04:48 2014
@@ -83,9 +83,17 @@
         or they can be referenced using the <code>external-schema</code>
         element.
         The difference between included and referenced schemata is that 
-        an included schema can have foreign key relations between all tables
-        in all files, whereas with referenced schema files, relations from the
-        referenced schema to the main schema are forbidden.
+        included schema are considered under torque's control, whereas
+        tables and views defined in an external schema file can be
+        referenced, but are not under torque's control.
+        In practice that means that an included schema can have
+        foreign key relations between all tables in all files,
+        and the ddl generation generates create (and possibly drop)
+        commands for all tables.
+        With referenced schema files, relations from the
+        referenced schema to the main schema are forbidden,
+        and the ddl generation only generates create (and/or drop)
+        commands for tables in the main schema, not the external schema.
         With both included and referenced schema files, 
         care should be taken that the imported/included files 
         are not read on their own by the  maven plugin or ant tasks.



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org