While this workaround works for a map to add "by hand" in mongodb the key "_class" and the value "java.util.HashMap". For an array it isn't possible.
The mapper don't even recognize the array...
Type: Posts; User: ogoletti; Keyword(s):
While this workaround works for a map to add "by hand" in mongodb the key "_class" and the value "java.util.HashMap". For an array it isn't possible.
The mapper don't even recognize the array...
The same problem occurs with an ArrayList...
In fact, for each generic type saved, it seems that the mapping is not correctly done.
There should be a "_class" field with the corresponding class in...
It's working fine. Thanks a lot!
I'm not quite sure of what is needed here but I'll provide what I can.
Here is how to reproduce the bug. I tried by specifically setting the type of A, but this don't work either.
I've added...
Up!
Sorry to up this thread but this problem is quite blocking.
Any idea ?
A little help on this topic would be usefull.
I didn't find out any solution.
Thanks for any attempt
Hi,
I'm issuing a problem with the saving of a Map as generic type of one of my domain object.
Here is an example.
I have a generic domain object as :
public class A<T> {
String...
Ok. Thanks for this answer.
This example is what I need.
I've seen here that the RC1 release is due to monday so I'll wait until there.
Hi there,
I'm a new user of mongodb and I'm stuck trying to translate in Java a mongoDB query.
Here is the problem. I have a "test" collection such as :
db.test.find()
{ "_id" :...