1 person found this helpful
From where you are running this code ? I am not sure if you are using right approach,
If you running this outside CRX then should use WebDav libraries to make changes
After getting repository access you can change content using JCR API.
If you running Within CRX context then use repository service to make changes.
Initially i used httpclient to the node details. I will try with web dev libereries to make the changes. Thanks for your help.
Unlike Ansi SQL (the SQL used by relational databases) JCR SQL is built only to query the repository, not to change data.
If you want to change data, either use the SlingPostServlet  (if you want to use HTTP) or the JCR API.
Are these url exists but I am facing issue to get relavent information. Please let me know if there is change in above url.
Yes. I got the relavent information from http://helpx.adobe.com/adobe-cq/using/programmatically-accessing-cq-content-using.html
I was able to connect crx from stand alone utility and made the node changes.