comparison tests/Test_Int128.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
16 import java.sql.Statement; 16 import java.sql.Statement;
17 17
18 /* Test whether we can represent a full-size int128 as JDBC results */ 18 /* Test whether we can represent a full-size int128 as JDBC results */
19 public class Test_Int128 { 19 public class Test_Int128 {
20 public static void main(String[] args) throws Exception { 20 public static void main(String[] args) throws Exception {
21 // Class.forName("nl.cwi.monetdb.jdbc.MonetDriver"); // not needed anymore for self registering JDBC drivers
22 Connection con = DriverManager.getConnection(args[0]); 21 Connection con = DriverManager.getConnection(args[0]);
23 BigInteger bi = new BigInteger( 22 BigInteger bi = new BigInteger(
24 "123456789012345678909876543210987654321"); 23 "123456789012345678909876543210987654321");
25 BigDecimal bd = new BigDecimal( 24 BigDecimal bd = new BigDecimal(
26 "1234567890123456789.9876543210987654321"); 25 "1234567890123456789.9876543210987654321");