Hi Pradeep,

I don't have any experience with jackrabbit-ocm + springmodules for jcr.
However, I guess that the jcr mapping template would create a jcr session and 
ocm every time whenever you invoke an action because I guess the basic behavior 
could be like jdbc template or jms template. And also, I think that's why the 
jcr mapping template has a reference to a session factory bean.
I think you could check if the same session is used or not by inspecting the 
ocm object and its underlying session object inside callbacks during inserting 
or retrieving.

Regards,

Woonsan


----- Original Message ----
> From: pradeepkudale <[email protected]>
> To: [email protected]
> Sent: Mon, May 3, 2010 2:52:00 PM
> Subject: Re: AW: AW: OCM : Not able to get the list of nodes added in current 
> session
> 
> 
Thanks for your reply,

Could you please review my code, I am not 
> able to get why i am not able to
persist 
> object.

http://n4.nabble.com/file/n2123922/jackrabbit-sample.zip
jackrabbit-sample.zip 
> 

-----
Regards
Pradeep Kudale
-- 
View this message in 
> context: 
> http://jackrabbit.510166.n4.nabble.com/OCM-Not-able-to-get-the-list-of-nodes-added-in-current-session-tp2076858p2123922.html
Sent 
> from the Jackrabbit - Users mailing list archive at 
> href="http://Nabble.com";>Nabble.com.


      

Reply via email to