title: QUERY for hibernate ogm and hibernate orm together?
body: <p>i test different databases, so far there are mysql, postgresql and mongoDB.
  I wrote an insert method that I can use for all three databases.
  But until now I didn't find any way to write a function that reads all existing data from a table/collection with all three databases.
  so far I used hibernate search and that just worked for mongoDB.</p>
  
  <p>does anybody know an example code or some hints to write that generic query?</p>
  
  <p>Thanks in advance :)</p>