Mercurial > hg > monetdb-java
comparison tests/Test_Csendthread.java @ 391:f523727db392
Moved Java classes from packages starting with nl.cwi.monetdb.* to package org.monetdb.*
This naming complies to the Java Package Naming convention as MonetDB's main website is www.monetdb.org.
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Thu, 12 Nov 2020 22:02:01 +0100 (2020-11-12) |
parents | 54137aeb1f92 |
children | bf9f6b6ecf40 |
comparison
equal
deleted
inserted
replaced
390:6199e0be3c6e | 391:f523727db392 |
---|---|
8 | 8 |
9 import java.sql.*; | 9 import java.sql.*; |
10 | 10 |
11 public class Test_Csendthread { | 11 public class Test_Csendthread { |
12 public static void main(String[] args) throws Exception { | 12 public static void main(String[] args) throws Exception { |
13 // Class.forName("nl.cwi.monetdb.jdbc.MonetDriver"); // not needed anymore for self registering JDBC drivers | |
14 System.out.println("0. active threads: " + Thread.activeCount()); | 13 System.out.println("0. active threads: " + Thread.activeCount()); |
15 | 14 |
16 StringBuilder sb = new StringBuilder(); | 15 StringBuilder sb = new StringBuilder(); |
17 sb.append("SELECT 1"); | 16 sb.append("SELECT 1"); |
18 for (int i = 0; i < 256; i++) { | 17 for (int i = 0; i < 256; i++) { |