예제 #1
0
 public static Mongo getMongo() {
   return DBManager.getInstance().getMongo();
 }
예제 #2
0
 private MM(String dbName) {
   morphia = new Morphia();
   ds = morphia.createDatastore(DBManager.getInstance().getMongo(), dbName);
 }