# HG changeset patch # User Martin van Dinther <martin.van.dinther@monetdbsolutions.com> # Date 1676556965 -3600 # Node ID c6bea28cbce3d05333e22f72bf50425e424fe9eb # Parent 5967ae88e779be3f952671399baa02a6e9fe0be7 In getClientInfoProperties() order the static values list alphabetically. diff --git a/src/main/java/org/monetdb/jdbc/MonetDatabaseMetaData.java b/src/main/java/org/monetdb/jdbc/MonetDatabaseMetaData.java --- a/src/main/java/org/monetdb/jdbc/MonetDatabaseMetaData.java +++ b/src/main/java/org/monetdb/jdbc/MonetDatabaseMetaData.java @@ -3909,20 +3909,20 @@ public final class MonetDatabaseMetaData // for a list of connection properties see also MonetConnection.java constructor MonetConnection(Properties props) final String query = "SELECT * FROM (VALUES " + - "('host', cast(1024 as int), 'localhost', 'DSN or IP-address of machine running MonetDB')," + - "('port', 5, '50000', 'communication port number of MonetDB server process')," + - "('user', 1024, '', 'user name to login to MonetDB server')," + - "('password', 128, '', 'password for user name to login to MonetDB server')," + + "('autocommit', cast(5 as int), 'true', 'boolean flag true or false to turn autocommit on or off')," + + "('database', 1024, 'demo', 'name of database. It matches the dbfarm subdirectory name')," + + "('debug', 5, 'false', 'boolean flag true or false to turn debug logging on or off')," + + "('fetchsize', 11, '250', 'number of result rows to fetch per round trip')," + // only supported by servers from version 11.41.1 onwards + "('hash', 128, '', 'hash methods list to use in server connection. Supported are SHA512, SHA384, SHA256 and SHA1')," + + "('host', 1024, 'localhost', 'DSN or IP-address of machine running MonetDB')," + "('language', 16, 'sql', 'language (sql or mal) used to parse commands in MonetDB server')," + - "('database', 1024, 'demo', 'name of database. It matches the dbfarm subdirectory name')," + - "('autocommit', 5, 'true', 'boolean flag true or false to turn autocommit on or off')," + - "('debug', 5, 'false', 'boolean flag true or false to turn debug logging on or off')," + "('logfile', 1024, 'monet_######.log', 'name of logfile used when debug is enabled')," + - "('hash', 128, '', 'hash methods list to use in server connection. Supported are SHA512, SHA384, SHA256 and SHA1')," + + "('password', 128, '', 'password for user name to login to MonetDB server')," + + "('port', 5, '50000', 'communication port number of MonetDB server process')," + + "('so_timeout', 10, '0', 'timeout (in milliseconds) of communication socket. 0 means no timeout is set')," + "('treat_blob_as_binary', 5, 'true', 'should blob columns be mapped to Types.VARBINARY instead of Types.BLOB in ResultSets and PreparedStatements')," + "('treat_clob_as_varchar', 5, 'true', 'should clob columns be mapped to Types.VARCHAR instead of Types.CLOB in ResultSets and PreparedStatements')," + - "('so_timeout', 10, '0', 'timeout (in milliseconds) of communication socket. 0 means no timeout is set')," + - "('fetchsize', 11, '250', 'number of result rows to fetch per round trip')" + // only supported by servers from version 11.41.1 onwards + "('user', 1024, '', 'user name to login to MonetDB server')" + ") AS t(\"NAME\", \"MAX_LEN\", \"DEFAULT_VALUE\", \"DESCRIPTION\")" + " ORDER BY \"NAME\"";