Auto Generated id | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Kunal_Gaba_

Just see Rule#7 of David's model - Rule #7: ID's are evil. 

http://wiki.apache.org/jackrabbit/DavidsModel#Rule_.237:_ID.27s_are_evil

2 replies

Lokesh_Shivalingaiah
New Participant
October 16, 2015

Firstly there is no concept of id in CQ5 like other RDBMS. However, you can write your own service to autogenerate the id and use that in node

or let us know if you are looking at something else with a usecase. that would help to suggest 

Kunal_Gaba_
Kunal_Gaba_Accepted solution
New Participant
October 16, 2015

Just see Rule#7 of David's model - Rule #7: ID's are evil. 

http://wiki.apache.org/jackrabbit/DavidsModel#Rule_.237:_ID.27s_are_evil