Repository
is just like EntityManager
but its operations are limited to a concrete entity.getRepository(Entity)
, Connection#getRepository
, or EntityManager#getRepository
. Example:Repository
- Regular repository for any entity.TreeRepository
- Repository, extensions of Repository
used for tree-entities (like entities marked with @Tree
decorator). Has special methods to work with tree structures.MongoRepository
- Repository with special functions used only with MongoDB.