NoSQLQuery should live under org.hibernate.ogm.*. Currently it doesn't as needs to access some package private API from org.hibernate.internal.