Return-Path:
Delivered-To: apmail-db-ojb-dev-archive@www.apache.org
Received: (qmail 1063 invoked from network); 29 Aug 2003 21:19:46 -0000
Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12)
by minotaur-2.apache.org with SMTP; 29 Aug 2003 21:19:46 -0000
Received: (qmail 92426 invoked by uid 500); 29 Aug 2003 21:19:29 -0000
Delivered-To: apmail-db-ojb-dev-archive@db.apache.org
Received: (qmail 92410 invoked by uid 500); 29 Aug 2003 21:19:28 -0000
Mailing-List: contact ojb-dev-help@db.apache.org; run by ezmlm
Precedence: bulk
List-Unsubscribe:
List-Subscribe:
List-Help:
List-Post:
List-Id: "OJB Developers List"
Reply-To: "OJB Developers List"
Delivered-To: mailing list ojb-dev@db.apache.org
Received: (qmail 92397 invoked by uid 500); 29 Aug 2003 21:19:28 -0000
Received: (qmail 92379 invoked from network); 29 Aug 2003 21:19:28 -0000
Received: from unknown (HELO minotaur.apache.org) (209.237.227.194)
by daedalus.apache.org with SMTP; 29 Aug 2003 21:19:28 -0000
Received: (qmail 953 invoked by uid 1513); 29 Aug 2003 21:19:26 -0000
Date: 29 Aug 2003 21:19:26 -0000
Message-ID: <20030829211926.952.qmail@minotaur.apache.org>
From: brj@apache.org
To: db-ojb-cvs@apache.org
Subject: cvs commit: db-ojb/xdocs tutorial3.xml
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N
brj 2003/08/29 14:19:26
Modified: xdocs tutorial3.xml
Log:
additional doc for multiple joined tables
Revision Changes Path
1.28 +18 -1 db-ojb/xdocs/tutorial3.xml
Index: tutorial3.xml
===================================================================
RCS file: /home/cvs/db-ojb/xdocs/tutorial3.xml,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- tutorial3.xml 8 Aug 2003 23:59:13 -0000 1.27
+++ tutorial3.xml 29 Aug 2003 21:19:25 -0000 1.28
@@ -1608,6 +1608,23 @@
keyword defining the JOIN to the baseclass.
+Auto-update must be true (this is the default) to force insertion of A when inserting B.
+So you'd better not define any auto-settings for this reference-descriptor !
+
+
+Attributes from the super-class A can be used the same way as attributes of B when querying for B.
+No path-expression is needed in this case:
+
+
+
+
+
The above example is based on the assumption that the primary key attribute
B.id and its underlying column B_TABLE.ID
is also used as the foreign key attribute.
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org