title: QueryDsl to produce a native query
body: <p>Is there any way to convert querydsl query to native query including query parameters? Currently i have something like </p>
  
  <pre><code>    QDrm qdrm = QDrm.drm;
  
      String table = "drm";
      Path&lt;Object&gt; userPath = new PathImpl&lt;Object&gt;(Object.class, table);
      StringPath usernamePath = Expressions.stringPath(userPath, "accessory_id");
      query.from(qdrm).where(qdrm.accessory_id.eq(100l));
      query.where(qdrm.time.lt("2104-04-14"));
  
      System.out.println(query.getSQL(usernamePath).getSQL());
  </code></pre>
  
  <p>This results in following output :</p>
  
  <pre><code>select drm.accessory_id
  from drm
  where drm.accessory_id = ? and drm.time &lt; ?
  </code></pre>
  
  <p>My goal is to produce </p>
  
  <pre><code>select drm.accessory_id
  from drm
  where drm.accessory_id = 100 and drm.time &lt; "2104-04-14"
  </code></pre>
  
  <p>The query will be executed manually or by some other means outside of QueryDSL.</p>
  
  <p>Thanks for you help.</p>