Mercurial > hg > monetdb-java
comparison tests/JDBC_API_Tester.java @ 948:9c310d692465
Approve new output for MonetDriver.getPropertyInfo()
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Thu, 09 Jan 2025 20:00:13 +0100 (3 months ago) |
parents | ff075ed5ce81 |
children | 1c4a12a89282 |
comparison
equal
deleted
inserted
replaced
947:bd4964f4656e | 948:9c310d692465 |
---|---|
764 sb.append("failed to get Driver class: ").append(e.getMessage()); | 764 sb.append("failed to get Driver class: ").append(e.getMessage()); |
765 sb.append("\n"); | 765 sb.append("\n"); |
766 } | 766 } |
767 | 767 |
768 compareExpectedOutput("Test_Driver", | 768 compareExpectedOutput("Test_Driver", |
769 "0 user true null User loginname to use when authenticating on the database server\n" + | 769 "0 user true user name to authenticate as\n" + |
770 "1 password true null Password to use when authenticating on the database server\n" + | 770 "1 password true password to authenticate with\n" + |
771 "2 host false IP number, domain name or one of the special values `localhost` and `localhost.`\n" + | |
772 "3 port false -1 Port to connect to, 1..65535 or -1 for 'not set'\n" + | |
773 "4 database false name of database to connect to\n" + | |
774 "5 autocommit false true initial value of autocommit\n" + | |
775 "6 schema false initial schema\n" + | |
776 "7 timezone false 60 client time zone as minutes east of UTC\n" + | |
777 "8 replysize false 250 rows beyond this limit are retrieved on demand, <1 means unlimited\n" + | |
778 "9 debug false false enable tracing of socket communication for debugging\n" + | |
779 "10 logfile false when debug is enabled its output will be written to this logfile\n" + | |
780 "11 so_timeout false 0 abort if network I/O does not complete in this many milliseconds, 0 means no timeout\n" + | |
781 "12 treat_clob_as_varchar false true map CLOB/TEXT data to type VARCHAR instead of type CLOB\n" + | |
782 "13 treat_blob_as_binary false true map BLOB data to type BINARY instead of type BLOB\n" + | |
783 "14 client_info false true whether to send ClientInfo when connecting\n" + | |
784 "15 client_application false application name to send in ClientInfo\n" + | |
785 "16 client_remark false any client remark to send in ClientInfo\n" + | |
771 "getPropertyInfo of jdbc:monetdbs:\n" + | 786 "getPropertyInfo of jdbc:monetdbs:\n" + |
772 "0 user true null User loginname to use when authenticating on the database server\n" + | 787 "0 user true user name to authenticate as\n" + |
773 "1 password true null Password to use when authenticating on the database server\n" + | 788 "1 password true password to authenticate with\n" + |
774 "2 tls true null secure the connection using TLS\n" + | 789 "2 tls false false secure the connection using TLS\n" + |
775 "3 cert true null path to TLS certificate to authenticate server with\n"); | 790 "3 host false IP number, domain name or one of the special values `localhost` and `localhost.`\n" + |
791 "4 port false -1 Port to connect to, 1..65535 or -1 for 'not set'\n" + | |
792 "5 database false name of database to connect to\n" + | |
793 "6 cert false path to TLS certificate to authenticate server with\n" + | |
794 "7 certhash false hash of server TLS certificate must start with these hex digits; overrides cert\n" + | |
795 "8 clientkey false path to TLS key (+certs) to authenticate with as client\n" + | |
796 "9 clientcert false path to TLS certs for 'clientkey', if not included there\n" + | |
797 "10 autocommit false true initial value of autocommit\n" + | |
798 "11 schema false initial schema\n" + | |
799 "12 timezone false 60 client time zone as minutes east of UTC\n" + | |
800 "13 replysize false 250 rows beyond this limit are retrieved on demand, <1 means unlimited\n" + | |
801 "14 debug false false enable tracing of socket communication for debugging\n" + | |
802 "15 logfile false when debug is enabled its output will be written to this logfile\n" + | |
803 "16 so_timeout false 0 abort if network I/O does not complete in this many milliseconds, 0 means no timeout\n" + | |
804 "17 treat_clob_as_varchar false true map CLOB/TEXT data to type VARCHAR instead of type CLOB\n" + | |
805 "18 treat_blob_as_binary false true map BLOB data to type BINARY instead of type BLOB\n" + | |
806 "19 client_info false true whether to send ClientInfo when connecting\n" + | |
807 "20 client_application false application name to send in ClientInfo\n" + | |
808 "21 client_remark false any client remark to send in ClientInfo\n"); | |
776 } | 809 } |
777 | 810 |
778 private void handleExecuteDDL(Statement stmt, String action, String objtype, String objname, String sql) { | 811 private void handleExecuteDDL(Statement stmt, String action, String objtype, String objname, String sql) { |
779 try { | 812 try { |
780 int response = stmt.executeUpdate(sql); | 813 int response = stmt.executeUpdate(sql); |