Package org.apache.openjpa.jdbc.kernel

Examples of org.apache.openjpa.jdbc.kernel.PreparedQueryCacheImpl


  private String[] keys   = {"jpql1", "jpql2", "jpql3"};
  private String[] values = {"sql1", "sql2", "sql3"};
 
  protected void setUp() throws Exception {
    super.setUp();
    cache = new PreparedQueryCacheImpl();
    for (int i = 0; i < keys.length; i++) {
            PreparedQuery p = new PreparedQueryImpl(keys[i], values[i], null);
      cache.cache(p);
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.openjpa.jdbc.kernel.PreparedQueryCacheImpl

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.