Mercurial > hg > monetdb-java
comparison tests/BugDecimalRound_Bug_3561.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 |
---|---|
9 import java.sql.*; | 9 import java.sql.*; |
10 import java.math.BigDecimal; | 10 import java.math.BigDecimal; |
11 | 11 |
12 public class BugDecimalRound_Bug_3561 { | 12 public class BugDecimalRound_Bug_3561 { |
13 public static void main(String[] args) throws Exception { | 13 public static void main(String[] args) throws Exception { |
14 // Class.forName("nl.cwi.monetdb.jdbc.MonetDriver"); // not needed anymore for self registering JDBC drivers | |
15 Connection con = DriverManager.getConnection(args[0]); | 14 Connection con = DriverManager.getConnection(args[0]); |
16 | 15 |
17 Statement stmt1 = con.createStatement(); | 16 Statement stmt1 = con.createStatement(); |
18 stmt1.executeUpdate("CREATE TABLE bug3561 (d decimal(14,4))"); | 17 stmt1.executeUpdate("CREATE TABLE bug3561 (d decimal(14,4))"); |
19 | 18 |