thanks for reading my email, stefan. I decided to get my hands 'dirty' - I started not using any OCM for now, just org.springmodules.jcr.JcrTemplate. Now everything works....
there is an interesting post : http://stackoverflow.com/questions/370557/what-is-the-best-way-to-save-my-pojos-into-jackrabbit-jcr but i do not know how long I can hold to not using OCM ... journey might be bumpy...need to learn XPATH, how to define custom node type,........but so far so good :-) rgds, canal ________________________________ From: Stefan Guggisberg <[email protected]> To: [email protected] Sent: Wednesday, July 22, 2009 3:35:56 PM Subject: Re: PathNotFoundException On Wed, Jul 22, 2009 at 7:45 AM, go canal<[email protected]> wrote: > Did I misunderstand some basic concept ? > > this is how I create a new root node: > parentNode = getSession().getRootNode(); > Node newNode = jcrom.addNode(parentNode, entity, mixinTypes); i am not familiar with jcrom. you might want to ask on the jcrom list. cheers stefan > > > the entity has a path set to "/documents", > > immediately, I check the availability: > return getSession().getRootNode().hasNode ("documents"); > > and it says path not found ... > > > rgds, > canal > >
