title: how to chose one implimentation in queryDSL
body: <p>I want to work with querydsl but I have a probleme when I call from(...) function</p>
  
  <pre><code>            UserTransaction tx = TM.getUserTransaction();
              tx.begin();
  
              EntityManager em = emf.createEntityManager();
              JPAQueryFactory x = new JPAQueryFactory(new 
                Provider&lt;EntityManager&gt;() {
                  @Override
                  public EntityManager get() {
                      return em;
                  }});
              JPAQuery query = x.query();
              query.from(typeInstitutionEntity)[`enter image description here`][https://i.stack.imgur.com/a7rcw.png]
  </code></pre>