Lines Matching defs:connection
58 * threads execute their statement in the context of one connection, the other
59 * two threads in the context of the other connection. Of the 4 threads, only
62 * what connection/transaction it and other statements are executed in the
67 * query in the context of a separate connection. There is no point in executing
68 * multiple statements on the same connection; since only one statement per
69 * connection executes at a time, there will be no interleaving of execution
146 private static void exec(Connection connection, String queryString,
150 statement = connection.createStatement();
175 private static void exec(Connection connection, String queryString)
177 exec(connection, queryString, Collections.EMPTY_SET);
365 // B - different stmt on the same connection; should NOT time out
366 // C - different stmt on different connection; should NOT time out