comparison src/main/java/nl/cwi/monetdb/jdbc/MonetDatabaseMetaData.java @ 177:4959b85b981c

Extend DatabaseMetaData.getClientInfoProperties() with new property: treat_clob_as_varchar Also added missing logfile property and improved description for properties: treat_blob_as_binary and hash.
author Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
date Thu, 05 Oct 2017 14:56:24 +0200 (2017-10-05)
parents 70630bc76ac6
children 4767b005a531
comparison
equal deleted inserted replaced
176:e701b51b3552 177:4959b85b981c
3805 "SELECT 'user', 1024, '', 'user name to login to MonetDB server' UNION ALL " + 3805 "SELECT 'user', 1024, '', 'user name to login to MonetDB server' UNION ALL " +
3806 "SELECT 'password', 128, '', 'password for user name to login to MonetDB server' UNION ALL " + 3806 "SELECT 'password', 128, '', 'password for user name to login to MonetDB server' UNION ALL " +
3807 "SELECT 'language', 16, 'sql', 'language (sql or mal) used to parse commands in MonetDB server' UNION ALL " + 3807 "SELECT 'language', 16, 'sql', 'language (sql or mal) used to parse commands in MonetDB server' UNION ALL " +
3808 "SELECT 'database', 1024, 'demo', 'name of database. It matches the dbfarm subdirectory name' UNION ALL " + 3808 "SELECT 'database', 1024, 'demo', 'name of database. It matches the dbfarm subdirectory name' UNION ALL " +
3809 "SELECT 'debug', 5, 'false', 'boolean flag true or false' UNION ALL " + 3809 "SELECT 'debug', 5, 'false', 'boolean flag true or false' UNION ALL " +
3810 "SELECT 'hash', 128, '', 'hash string' UNION ALL " + 3810 "SELECT 'logfile', 1024, 'monet_######.log', 'name of logfile used when debug is enabled' UNION ALL " +
3811 "SELECT 'treat_blob_as_binary', 5, 'false', 'boolean flag true or false' UNION ALL " + 3811 "SELECT 'hash', 128, '', 'hash methods list to use in server connection. Supported are SHA512, SHA384, SHA256, SHA1 and MD5' UNION ALL " +
3812 "SELECT 'treat_blob_as_binary', 5, 'false', 'should blob columns be mapped to Types.VARBINARY instead of default Types.BLOB in ResultSets and PreparedStatements' UNION ALL " +
3813 "SELECT 'treat_clob_as_varchar', 5, 'false', 'should clob columns be mapped to Types.VARCHAR instead of default Types.CLOB in ResultSets and PreparedStatements' UNION ALL " +
3812 "SELECT 'so_timeout', 10, '0', 'timeout (in milliseconds) of communication socket. 0 means no timeout is set' " + 3814 "SELECT 'so_timeout', 10, '0', 'timeout (in milliseconds) of communication socket. 0 means no timeout is set' " +
3813 "ORDER BY \"NAME\""; 3815 "ORDER BY \"NAME\"";
3814 3816
3815 return executeMetaDataQuery(query); 3817 return executeMetaDataQuery(query);
3816 } 3818 }