code: public void prepare(Properties p, Connection cnx)
      {
          this.tablePrefix = p.getProperty("com.enioka.jqm.jdbc.tablePrefix", "");
          queries.putAll(DbImplBase.queries);
          for (Map.Entry<String, String> entry : DbImplBase.queries.entrySet())
          {
              queries.put(entry.getKey(), this.adaptSql(entry.getValue()));
          }
      }
docs: Called after creating the first connection. The adapter should create its caches and do all initialization it requires. Most
  importantly, the SQL query cache should be created.
  
  @param cnx
  an open ready to use connection to the database.