title: Does MongoDB work with JPA?
body: <p>I am new to working with databases, so my question is probably naive. I currently have a project using Spring Data with JPA. I am using Hibernate and MySQL under the hood. Is it possible to switch to MongoDB? When I googled "jpa MongoDB" the top link showed something interesting (<a href="http://www.datanucleus.org/products/datanucleus/jpa/guides/tutorial_mongodb.html" rel="noreferrer">DataNucleus JPA and MongoDB</a>). This link: <a href="http://docs.mongodb.org/ecosystem/drivers/java/" rel="noreferrer">MongoDB docs</a> appears to show that the Java driver is JPA compliant, so should it be simple to swap out database implementations?</p>