Open GoogleCodeExporter opened 9 years ago
Btw, using separate Mongo and/or Morphia objects for the second Datastore
doesn't help, which seems to argue for the DatastoreHolder singleton (or some
other static data) being the cause.
Original comment by sdeit...@googlemail.com
on 7 Sep 2011 at 4:18
We came across the same problem. Our situation is that we wanted physically
separate db's.; so we had setup separate Mongo/Morphia objects.
The DatastoreHolder is the problem. We actually replaced the
DefaultDatastoreProvider, and added a method to Mapper to fix this issue. I've
attached our rebuild of morphia-1.0-SNAPSHOT.jar.
Am happy to share the source; but I'm pretty sure that our solution is NOT the
direction the morphia team was headed. I was just trying to get past this issue.
Original comment by john.fow...@appconomy.com
on 18 Oct 2011 at 4:27
Attachments:
Thanks John for the JAR: I was struggling for hours with this issue. Your fix
should be integrated in master.
Original comment by ma...@mashape.com
on 13 Apr 2012 at 2:42
Original issue reported on code.google.com by
sdeit...@googlemail.com
on 7 Sep 2011 at 4:15