Hi,

I'm currently using OrientDB for a project at work and I have some question 
about record IDs.

As far as I understood, record IDs are unique and can be used to to 
identify a record in a deterministic way. I was wondering if these IDs can 
be used to identify objects through (REST) APIs.

As any web application, I need to identify objects one way or another and I 
was wondering what the best approach would be:
1/ Using record IDs provided by orient DB
2/ Adding a "business" id field to my objects and manage it aside.

So far, I didn't see any reason why I shouldn't use the record ID itself, 
the only con I see is that RID are strings clusterId#position (and not 
plain integers) and it's a bit harder to expose in an URL ...

Is there any issue I haven't foresee ?

Thanks for your help

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to