Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 85206 invoked from network); 12 Mar 2007 14:07:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Mar 2007 14:07:27 -0000 Received: (qmail 76338 invoked by uid 500); 12 Mar 2007 14:07:35 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 76046 invoked by uid 500); 12 Mar 2007 14:07:35 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 76037 invoked by uid 99); 12 Mar 2007 14:07:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Mar 2007 07:07:35 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of marcel.reutegger@gmx.net designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 12 Mar 2007 07:07:24 -0700 Received: (qmail invoked by alias); 12 Mar 2007 14:07:02 -0000 Received: from bsl-rtr.day.com (EHLO [10.0.0.110]) [62.192.10.254] by mail.gmx.net (mp029) with SMTP; 12 Mar 2007 15:07:02 +0100 X-Authenticated: #894343 X-Provags-ID: V01U2FsdGVkX19YoqRenWRYdgkLXvY6AenNI1Zej6Tcfqzn6kg3s4 /E6vi7usltXm1b Message-ID: <45F55E83.1020102@gmx.net> Date: Mon, 12 Mar 2007 15:06:59 +0100 From: Marcel Reutegger User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Re: Database PersistenceManagers (was "Results of a JR Oracle test that we conducted) References: <49977f270703020340m72621bf8n2669ccb4fc9e8be@mail.gmail.com> <90a8d1c00703030711p198bdfafg62abcb384720f1b1@mail.gmail.com> <510143ac0703120631s6a64d126p2bf9a5c26069df97@mail.gmail.com> In-Reply-To: <510143ac0703120631s6a64d126p2bf9a5c26069df97@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org Jukka Zitting wrote: >> further note that write operations must occur within a single jdbc >> transaction, i.e. you can't get a new connection for every store/destroy >> operation. > > I think this is a design flaw. On the other hand we require > persistence managers to be "dumb" components, but then we rely on them > for complex features like transactions. I'd say those components are 'simple' rather than 'dumb' or 'complex'. the requirements are therefore also relatively simple: operations must have A(C)ID properties. A) a change log must be persisted as a whole or not at all C) this is actually handled by the upper level I) while a change log is persisted a read must not see partially stored content D) durability, well you get the idea... to implement those requirements you don't necessarily need a database (as you pointed out in another thread ;)). regards marcel