Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
Description
There is a situation we need to keep one more unique id in our domain class - besides the standard id - which is of type ObjectId, we need to keep another unique id - which type should be either integer or long.
It would be great if there was a mapping for that. I assume using the atomic increment possibility of mongo should be used to implement that.
Thanks in advance.
Regards,
Nune
Or you can maybe use java.util.UUID? http://docs.oracle.com/javase/6/docs/api/java/util/UUID.html