Return-Path: Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 44599 invoked by uid 500); 29 Jul 2003 19:27:46 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Delivered-To: moderator for dev@cocoon.apache.org Received: (qmail 68933 invoked from network); 29 Jul 2003 18:02:02 -0000 Date: Tue, 29 Jul 2003 20:02:06 +0200 From: Leszek Gawron To: dev@cocoon.apache.org Subject: Re: Hibernate vs. OJB Message-ID: <20030729180206.GA15030@mysza.ekom.net.pl> References: <20030729074935.GA7955@mysza.ekom.net.pl> <36563.10.0.0.5.1059467194.squirrel@ags01.agsoftware.dnsalias.com> <03da01c355f1$23f9f950$3c01a8c0@jdmobile> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <03da01c355f1$23f9f950$3c01a8c0@jdmobile> User-Agent: Mutt/1.4.1i Sender: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Tue, Jul 29, 2003 at 08:47:46AM -0800, JD Daniels wrote: > The "persistence layer" was completely new to me as well. (It was Flow that > got me interested) Hibernate confuse dthe crap out of me. After Antonio's > wiki :http://wiki.cocoondev.org/Wiki.jsp?page=OJBWithJDO > well, JDO makes *sense* heh heh > > What I mean is Antonios wiki I could get running and understand much quicker > than the Hugo burm's hibernate wiki. > (I think it is the difference betwen OJB and Hibernate, Not Antonio and hugo > ;) That has to look simple as the example is the most simple it can be. But after a fast glance through both technologies: 1. I have a feeling that Hibernate makes it easier to model more advanced structures. I did not get the feeling with OJB. Still I have no idea how they both get to manage really big structures (like a merchandising questionnaire that would take about 500 database rows) 2. The OJB tutorial (IBM site) states that it is difficut to use it with IDEs as it enables persistence to classes by modyfying the .class files. Eclipse would go crazy I think. Second thing is that this approach isn't quite elegant.. 3. Hibernate supports a lot of databases through a specialized interfaces. I haven't found a pluggable support in OJB (which is important if you use crappy databases like Pervasive because customer's infrastructure uses it) regards LG