Mercurial > hg > monetdb-java
comparison tests/BugResultSetMetaData_Bug_6183.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 |
---|---|
12 static final String dqTblName = "\"my dq_table\""; | 12 static final String dqTblName = "\"my dq_table\""; |
13 static final String[] dqColNames = { "\"my space\"", "\"my, comma_space\"", "\"my$dollar\"", "\"my#hash\"", "\"my tab\"" | 13 static final String[] dqColNames = { "\"my space\"", "\"my, comma_space\"", "\"my$dollar\"", "\"my#hash\"", "\"my tab\"" |
14 , "\"my ,tab_comma\"", "\"my, comma_tab\"", "\"my\"\"double_doublequote\"", "\"Abc\"", "\" \"", "\"123\"" }; | 14 , "\"my ,tab_comma\"", "\"my, comma_tab\"", "\"my\"\"double_doublequote\"", "\"Abc\"", "\" \"", "\"123\"" }; |
15 | 15 |
16 public static void main(String[] args) throws Exception { | 16 public static void main(String[] args) throws Exception { |
17 // Class.forName("nl.cwi.monetdb.jdbc.MonetDriver"); // not needed anymore for self registering JDBC drivers | |
18 Connection con = DriverManager.getConnection(args[0]); | 17 Connection con = DriverManager.getConnection(args[0]); |
19 Statement stmt = con.createStatement(); | 18 Statement stmt = con.createStatement(); |
20 ResultSet rs = null; | 19 ResultSet rs = null; |
21 try { | 20 try { |
22 System.out.println("1. create table " + dqTblName); | 21 System.out.println("1. create table " + dqTblName); |