Return-Path: Delivered-To: apmail-db-ojb-dev-archive@www.apache.org Received: (qmail 69041 invoked from network); 29 Aug 2003 15:40:48 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 29 Aug 2003 15:40:48 -0000 Received: (qmail 365 invoked by uid 500); 29 Aug 2003 15:40:38 -0000 Delivered-To: apmail-db-ojb-dev-archive@db.apache.org Received: (qmail 351 invoked by uid 500); 29 Aug 2003 15:40:37 -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 326 invoked from network); 29 Aug 2003 15:40:37 -0000 Received: from unknown (HELO mailgate3.cinetic.de) (217.72.192.164) by daedalus.apache.org with SMTP; 29 Aug 2003 15:40:37 -0000 Received: from smtp.web.de (fmsmtp02.dlan.cinetic.de [172.20.1.79]) by mailgate3.cinetic.de (8.11.6p2/8.11.2/SuSE Linux 8.11.0-0.4) with ESMTP id h7TDPbq01005 for ; Fri, 29 Aug 2003 15:25:37 +0200 Received: from p50902d66.dip.t-dialin.net ([80.144.45.102] helo=web.de) by smtp.web.de with asmtp (TLSv1:RC4-MD5:128) (WEB.DE 4.99 #448) id 19sjEU-0002CM-00 for ojb-dev@db.apache.org; Fri, 29 Aug 2003 15:24:06 +0200 Message-ID: <3F4F5440.8010502@web.de> Date: Fri, 29 Aug 2003 15:25:20 +0200 From: Thomas Mahler Reply-To: thma@apache.org Organization: Apache Foundation User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: OJB Developers List Subject: Re: Mapping Tutorial Take 1 References: <28879629-D902-11D7-B876-000A95782782@forthillcompany.com> In-Reply-To: <28879629-D902-11D7-B876-000A95782782@forthillcompany.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: thma32@web.de 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 Hi Brian, Brian McCallister wrote: > Any reviews, comments, etc on the initial draft of the mapping tutorial > are appreciated: > > http://fischer.skife.org/ojb/mapping-tutorial.html > > I do not have as much confidence in this as I do in the pb-tutorial > > ( which current version is at... > http://fischer.skife.org/ojb/pb-tutorial.html -- It is only one typo and > a link added from the cvs version) > > Thank you in advance! I am *not* confident that the one I just posted is > the best approach, it reads a bit to dry (okay, so O/R mapping metadata > isn't exactly exciting most of the time, but reading it should be quick > and easy if it is simple, and this is fairly simple. I like both your tutorials, the pb-tutorial and the mapping-tutorial as well. I've only some remarks to the mapping tutorial: 1. with the latest cvs head the jdbc-type attribute is now optional. If no type is specified, OJB tries to deduce a proper type from the Java type of the persistent field. 2. I'd prefer to see some more detail on the overall structure of the repository.xml and the include mechanism. (As I did it in the tutorial1.html). But maybe you approach is better as it liberates the user from too much knowledge about internal things? 3. In the advanced topics section we should also mention mapping of inheritance hierarchies and polymorphism and link to tutorial3. The next question I have is where to place your tutorials. I think both tutorials together are a good replacement of my initial tutorial1.html. The only problem is that tutorial2 and 4 still rely on the presentation of the use cases from tutorial1. So this stuff must be moved to tutorial2, or tut2 and tut4 have to be rewritten too. What do you think? cheers, Thomas > > -Brian > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org > For additional commands, e-mail: ojb-dev-help@db.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org For additional commands, e-mail: ojb-dev-help@db.apache.org