Package com.im.imjutil.query

Examples of com.im.imjutil.query.Hints


    return this.clazz;
  }

  private void setQueryHints(javax.persistence.Query queryJPA, Query query) {
    if (query instanceof Hints) {
      Hints hints = (Hints) query;
      Properties props = hints.getHints();
     
      if (!props.isEmpty()) {
        for (Map.Entry<?, ?> pair : props.entrySet()) {
          queryJPA.setHint((String)pair.getKey(), pair.getValue());
        }
View Full Code Here

TOP

Related Classes of com.im.imjutil.query.Hints

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.