Just to add to the last comment
re:The simple answer: Yes. Hibernate OGM - JPA for NoSQL. JPA is Java API for mapping objects to data stores. It includes JPQL, a query language similar to SQL which adds the OOP concepts. It not SQL, but you don't want pure SQL - that was designed for the relational paradigm.
There is a company called UnityJDBC that has released the JDBC driver for Mongo, which allows you to run SQL queries against mongo in any Java application that supports JDBC.
you can download this driver for free http://www.unityjdbc.com/mongojdbc/mongo_jdbc.php
hope this helps
user2679835
source share