Package dev.morphia
Class DAO<T,K>
- java.lang.Object
-
- dev.morphia.dao.BasicDAO<T,K>
-
- dev.morphia.DAO<T,K>
-
-
Field Summary
-
Fields inherited from class dev.morphia.dao.BasicDAO
ds, entityClazz
-
-
Method Summary
-
Methods inherited from class dev.morphia.dao.BasicDAO
count, count, count, createQuery, createUpdateOperations, delete, delete, deleteById, deleteByQuery, ensureIndexes, exists, exists, find, find, findIds, findIds, findIds, findOne, findOne, findOneId, findOneId, findOneId, get, getCollection, getDatastore, getDs, getEntityClass, getEntityClazz, initDS, initType, keysToIds, save, save, update, updateFirst
-
-
-
-
Constructor Detail
-
DAO
public DAO(java.lang.Class<T> entityClass, com.mongodb.MongoClient mongoClient, Morphia morphia, java.lang.String dbName)
Deprecated.- Parameters:
entityClass
- the type to use with this DAOmongoClient
- the client to use to talk to the databasemorphia
- the morphia instance to usedbName
- the database to connect to
-
-