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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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. >
