samedi 29 mars 2014

Spring data repository


Vote count:

0




In a spring data project if I am using multiple types of repositories i.e JPA repository and Mongo repository and If I am tieing to CRUD repository then how Spring data knows which repository to choose? It can use JPA or Mongo. Is it based on the annotation @Document or @Entity added on every persisting entity?



asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire