New issue 318 by flaper87: LinkedHash cannot be cast to DBObject
http://code.google.com/p/morphia/issues/detail?id=318
What version are you using? (Morphia/Driver/MongoDB)
Latest snapshot and latest mongodb driver.
I'm getting a Cast error while trying to map a BasicDBObject to my model.
This model contains a field that is a HashSet<OtherModel> where OtherModel
implements Map.
The exact error points to this line:
I can't send the code because it is a private app but let me know if I can
do anything to help with this.
Just to recap:
HashSet<InnerObject> myfield = new HashSet<InnerObject>();
The basic object that I'm trying to map contains a key myfield that is an
ArrayList of LinkedHashMap
Thanks