kundera
kundera copied to clipboard
Enable @GeneratedValue support for MongoDB
Here is an excerpt from mongodb discussion group:
On Monday, January 21, 2013 9:17:44 PM UTC+5:30, Tung Nguyen wrote:
Hi there,
I have the same question about auto-generated _id of MongoDB, too.
In short, how can I auto-generate _id in Kundera for MongoDB? I have tried some annotation like @GeneratedValue but in vain.
Searching Kundera souce code provides no hint for setting like that...
I'm sure many people from MongDB would like to know about this. So...look forward to a clear answer.
Did what is describe here (https://github.com/impetus-opensource/Kundera/wiki/Primary-Key-Auto-generation) don't work ?
IT does work. What's the issue you facing with this?
-Vivek
The question from mevivs supposes it don't work.
This is raised by me only as an enhancement request before 2.4 release. Closing this.
-Vivek
Releasing with 2.5
-Vivek