title: Converting sql/oracle to java mongodb query
body: <p>I am new in Mongodb. can anybody tell me any online tool where i can easily convert my sql/ oracle query in mongodb for my java  code.
   ex:</p>
  
  <p>Simple oracle query:</p>
  
  <p>select * form student where class = "XII" and name="John";</p>
  
  <p>MongoDb Query for java:</p>
  
  <pre><code>db.getCollection("Student", Student.class).find(and(eq("class" , "XII"), eq("name", "John"))).into(new ArrayList&lt;Employee&gt;());
  </code></pre>
  
  <p>so i want a query builder for java where i can pass the sql/oracle query and i will get Java code for mongodb as Output.</p>
  
  <p>Please suggest some useful .</p>