Mercurial > hg > monetdb-java
diff src/main/java/org/monetdb/jdbc/MonetDriver.java.in @ 785:e00866975421
Get rid of JDBC_DEF_PORT
There is really no need to make that changeable.
author | Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com> |
---|---|
date | Fri, 30 Jun 2023 11:16:23 +0200 (21 months ago) |
parents | f261fe3c7fe4 |
children |
line wrap: on
line diff
--- a/src/main/java/org/monetdb/jdbc/MonetDriver.java.in +++ b/src/main/java/org/monetdb/jdbc/MonetDriver.java.in @@ -34,7 +34,7 @@ import java.util.Properties; * This Driver supports MonetDB database URLs. MonetDB URLs are defined as: * <code>jdbc:monetdb://<host>[:<port>]/<database></code> * where [:<port>] denotes that a port is optional. If not - * given the default (@JDBC_DEF_PORT@) will be used. + * given, port 50000 will be used. *</pre> * * @author Fabian Groffen @@ -101,7 +101,7 @@ public final class MonetDriver implement final Properties props = new Properties(); // set the optional properties and their defaults here - props.put("port", "@JDBC_DEF_PORT@"); + props.put("port", "50000"); props.put("debug", "false"); props.put("language", "sql"); // mal, sql, <future> props.put("so_timeout", "0");