jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Thompson" <elephant...@gmail.com>
Subject Re: spring + declarative transactions
Date Tue, 18 Dec 2007 14:49:37 GMT
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 <boris@granveaud.com> 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 <boris@granveaud.com> 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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message