From open-jpa-dev-return-2688-apmail-incubator-open-jpa-dev-archive=incubator.apache.org@incubator.apache.org Tue Mar 13 14:37:05 2007 Return-Path: Delivered-To: apmail-incubator-open-jpa-dev-archive@locus.apache.org Received: (qmail 31540 invoked from network); 13 Mar 2007 14:37:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Mar 2007 14:37:04 -0000 Received: (qmail 18803 invoked by uid 500); 13 Mar 2007 14:37:12 -0000 Delivered-To: apmail-incubator-open-jpa-dev-archive@incubator.apache.org Received: (qmail 18774 invoked by uid 500); 13 Mar 2007 14:37:12 -0000 Mailing-List: contact open-jpa-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: open-jpa-dev@incubator.apache.org Delivered-To: mailing list open-jpa-dev@incubator.apache.org Received: (qmail 18765 invoked by uid 99); 13 Mar 2007 14:37:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Mar 2007 07:37:12 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of matthieu.riou@gmail.com designates 66.249.82.232 as permitted sender) Received: from [66.249.82.232] (HELO wx-out-0506.google.com) (66.249.82.232) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Mar 2007 07:37:01 -0700 Received: by wx-out-0506.google.com with SMTP id i26so2020794wxd for ; Tue, 13 Mar 2007 07:36:40 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=YT2ejL5CBMydVwdZnrHv9AL98gEbuWbg9S8AbNGA7cXJMrG984Abx0sIzf9Z9s8yJPKZGJnstUAuq/Xa/oQvXo8cldPf15Knz6j0a7s/wsyqLMq1XIvX8f7RWRUKNj8N1kG3d9Q1yWGgJgk02msJdLh6gvkzH1qks/KsV68MnuQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=pzelDBBXNF1ffhrqRiaJ0MDozSdNBHWoLMmoREo6JQcuwvOI2LvBrD4j0mMuG6EXmGJLs/GfLEoPwY3aP/shcUXJe8m7iGQaAmsCthqPUGwcsT6Dxr5TNFV8FxFFzH3esje8mxwfjo63f6G+67hPp3Fr2PlJ852DPR9u09Rp9Hg= Received: by 10.90.68.15 with SMTP id q15mr5924325aga.1173796600344; Tue, 13 Mar 2007 07:36:40 -0700 (PDT) Received: by 10.90.84.20 with HTTP; Tue, 13 Mar 2007 07:36:40 -0700 (PDT) Message-ID: Date: Tue, 13 Mar 2007 06:36:40 -0800 From: "Matthieu Riou" Reply-To: matthieu.riou@gmail.com To: "Hans J. Prueller" Subject: Re: OpenJPA love Cc: open-jpa-dev@incubator.apache.org In-Reply-To: <001301c76533$455feb40$0400a8c0@burns> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_33097_14185102.1173796600291" References: <001301c76533$455feb40$0400a8c0@burns> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_33097_14185102.1173796600291 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline The primary reason was the license, Hibernate is LGPL and it's not compatible with the Apache license. But we've found some other benefits during the migration. For us an important one is the good control OpenJPA gives you on the flush. Theoretically you can do the same thing with Hibernate but practically when you're in a JTA environment it just flushes whenever it wants (depending on the queries you execute). If you don't flush exclusively at the end of the transaction you can very quickly run into very hard to solve deadlocks with some non MVCC databases (thinking mostly of SQL Server 2000 here). Cheers, Matthieu On 3/12/07, Hans J. Prueller wrote: > > Any special reason why you have been migrating from Hibernate to OpenJPA > (in addition to that it is an Apache project)? > > regards, > hans > > > -----Urspr=FCngliche Nachricht----- > > Von: Matthieu Riou [mailto:matthieu.riou@gmail.com] > > Gesendet: Dienstag, 13. M=E4rz 2007 03:33 > > An: open-jpa-dev@incubator.apache.org > > Betreff: OpenJPA love > > > > Hi guys, > > > > Just a quick note to let you know we've completed the migration of > Apache > > ODE from Hibernate to OpenJPA. Everything seem to work pretty well now. > I > > expect a few glitches here and there as we run in heavily parallelized > > environments but the transition has been pretty smooth. > > > > Thanks a lot for your help and all the good work! > > > > The ODE team. > > ------=_Part_33097_14185102.1173796600291--