Matt Pouttu-Clarke <[email protected]> writes: > public static void main(String[] args) throws SQLException > { > for(int x = 0; x < 2; x++) { > new Thread(new DerbyQuery()).run(); > } > }
When you invoke run() directly, you're running all queries in the main thread. You should try start() instead of run() and see if that improves the concurrency. -- Knut Anders
