Package org.apache.openjpa.kernel

Examples of org.apache.openjpa.kernel.DistinctResultList


    if (ob instanceof List) {
      List ret = (List) ob;
      if (ret instanceof ResultList) {
          RuntimeExceptionTranslator trans = PersistenceExceptions.getRollbackTranslator(_em);
          if (_query.isDistinct()) {
              return new DistinctResultList((ResultList) ret, trans);
          } else {
              return new DelegatingResultList((ResultList) ret, trans);
          }
      } else {
        return ret;
View Full Code Here

TOP

Related Classes of org.apache.openjpa.kernel.DistinctResultList

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.