morphia
morphia copied to clipboard
Support for auto-increment long ID in model classes
Morphia supports ObjectID but it'd be a nicer feature to natively support generation of long Id. Play morphia plugin does it by using a secondary table to track last generated ID. We can think about using something similar.
I have no personal desire to see this but feel free to supply a patch. I'm still battling to convert legacy apps from using auto-incrementing numbers to UUIDs...
On 2 April 2013 17:01, sachinwalia2k8 [email protected] wrote:
Morphia supports ObjectID but it'd be a nicer feature to natively support generation of long Id. Play morphia plugin does it by using a secondary table to track last generated ID. We can think about using something similar.
— Reply to this email directly or view it on GitHubhttps://github.com/jmkgreen/morphia/issues/52 .