From users-return-5812-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Tue Dec 18 14:50:10 2007 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 11393 invoked from network); 18 Dec 2007 14:50:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Dec 2007 14:50:10 -0000 Received: (qmail 29086 invoked by uid 500); 18 Dec 2007 14:49:58 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 29065 invoked by uid 500); 18 Dec 2007 14:49:58 -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 29056 invoked by uid 99); 18 Dec 2007 14:49:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Dec 2007 06:49:58 -0800 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 (athena.apache.org: domain of elephantium@gmail.com designates 72.14.220.157 as permitted sender) Received: from [72.14.220.157] (HELO fg-out-1718.google.com) (72.14.220.157) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Dec 2007 14:49:35 +0000 Received: by fg-out-1718.google.com with SMTP id l27so480572fgb.43 for ; Tue, 18 Dec 2007 06:49:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=0iQiBPkI1ucr234A4VJkDiAOKWDOZXWioVKfHwOAEug=; b=WvrR8IxtaoYnSfHB1/qmuQrJvHpMi9nMbZuKhKU76EL8QbWfzm4kMPfCOLsQxzOeHmwokXMtKpvneBXxD9j3NiedEJGoisIYulpsFdMDV5A8+UKA003wfwh4DPWMpw+v0BCN2203cmsGaiJXwEsOlSwCok9JNIHs8el1cR6haVA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=DpZkxgU9L25PYfdfJUwWhJCdjtBiRSzWL+jkTCmpVroF4KAVy4Fo/eXAADB6LdflEtJUs8K8GoKiBtSZuyRPm5zn5zehs5n3L9pTf9IHNrsCKhuaMRIAjB73K6uPaOTJOYOF/0kOGZ1i9j6kBeFa1+az4lVrYn5Sawtp9Tq/3yM= Received: by 10.86.82.16 with SMTP id f16mr7699168fgb.60.1197989377542; Tue, 18 Dec 2007 06:49:37 -0800 (PST) Received: by 10.86.3.5 with HTTP; Tue, 18 Dec 2007 06:49:37 -0800 (PST) Message-ID: <7d3e1a010712180649g59f2b7c7q614cedc8a598b0db@mail.gmail.com> Date: Tue, 18 Dec 2007 08:49:37 -0600 From: "Brian Thompson" To: users@jackrabbit.apache.org Subject: Re: spring + declarative transactions In-Reply-To: <14386484.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8811_19609702.1197989377529" References: <14373962.post@talk.nabble.com> <3b728ee90712171215x2d9f0a82ybd9d639240ced4e4@mail.gmail.com> <14386484.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_8811_19609702.1197989377529 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline While I've used Spring configuration in my Jackrabbit projects, I haven't used annotations yet, so I can't say much on that topic. You might have better luck posting on [1]; using annotations seems like more of a Spring topic than a Jackrabbit one :) [1] - http://forum.springframework.org/ -Brian On Dec 18, 2007 3:11 AM, Boris Granveaud wrote: > > Sorry, my question was not clear. I've read the spring module > documentation > and I've got a working configuration. > > But I would like to declare transaction with annotations like I do with > Hibernate: > > @Transactional(readOnly = true) > public Client findClient(Long id) { > ... > } > > Is it possible to do this with Spring JCR module? > > Another question: I've got an hybrid model Hibernate / JCR. Is it possible > > to have a global transaction? > > Thanks! > Boris. > > > Christophe Lombart wrote: > > > > See in the Spring module project but I'm not sure if it is still > > maintained > > > > On Dec 17, 2007 7:04 PM, Boris Granveaud wrote: > > > >> > >> Hi, > >> > >> I've browsed through several web sites, articles, documentations etc > but > >> I > >> can't find any clear example of how to configure Spring to enable JCR > >> declarative transaction support. > >> > >> Has anyone a pointer? > >> > >> Thanks, > >> Boris. > ------=_Part_8811_19609702.1197989377529--