Return-Path: Delivered-To: apmail-db-ojb-dev-archive@www.apache.org Received: (qmail 63473 invoked from network); 22 Oct 2003 05:52:28 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 22 Oct 2003 05:52:28 -0000 Received: (qmail 85591 invoked by uid 500); 22 Oct 2003 05:52:15 -0000 Delivered-To: apmail-db-ojb-dev-archive@db.apache.org Received: (qmail 85363 invoked by uid 500); 22 Oct 2003 05:52:13 -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 94485 invoked by uid 500); 21 Oct 2003 12:03:29 -0000 Date: 21 Oct 2003 12:03:31 -0000 Message-ID: <20031021120331.27210.qmail@minotaur.apache.org> From: oliverm@apache.org To: db-ojb-cvs@apache.org Subject: cvs commit: db-ojb/xdocs query.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 oliverm 2003/10/21 05:03:31 Modified: xdocs query.xml Log: minor typos (plural of issue and keyword) Revision Changes Path 1.22 +2 -2 db-ojb/xdocs/query.xml Index: query.xml =================================================================== RCS file: /home/cvs/db-ojb/xdocs/query.xml,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- query.xml 23 May 2003 17:00:36 -0000 1.21 +++ query.xml 21 Oct 2003 12:03:30 -0000 1.22 @@ -329,8 +329,8 @@ This feature allows to have multiple aliases for the same table. The standard behaviour of OJB is to build one alias for one relationship.

Suppose you have two classes Issue and Keyword and there is a 1:N relationship -between them. Now you want to retrieve Issues's by querying on Keword's. -Suppose you want to retrieve all Issue with keywords 'JOIN' and 'ALIAS'. If these values +between them. Now you want to retrieve Issues by querying on Keywords. +Suppose you want to retrieve all Issues with keywords 'JOIN' and 'ALIAS'. If these values are stored in the attribute 'value' of Keyword, OJB generates a query that contains " A1.value = 'JOIN' AND A1.value = 'ALIAS' " in the where-clause. Obviously, this will not work, no hits will occur because A1.value can not have --------------------------------------------------------------------- To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org For additional commands, e-mail: ojb-dev-help@db.apache.org