From 7deca197aadc932b5c7393599e3d97e742fc41fa Mon Sep 17 00:00:00 2001 From: Sualeh Fatehi Date: Sat, 23 Nov 2024 21:20:49 -0500 Subject: [PATCH 1/7] Update DB2 driver --- .../resources/testDB2WithConnection.8.txt | 82 +++++++++---------- .../resources/testDB2WithConnection.LTE.txt | 82 +++++++++---------- .../resources/testDB2WithConnection.8.txt | 36 ++++---- .../resources/testDB2WithConnection.LTE.txt | 36 ++++---- schemacrawler-jdbc-drivers/pom.xml | 2 +- 5 files changed, 119 insertions(+), 119 deletions(-) diff --git a/schemacrawler-db2/src/test/resources/testDB2WithConnection.8.txt b/schemacrawler-db2/src/test/resources/testDB2WithConnection.8.txt index ab7ae0b6c9..39983ac93a 100644 --- a/schemacrawler-db2/src/test/resources/testDB2WithConnection.8.txt +++ b/schemacrawler-db2/src/test/resources/testDB2WithConnection.8.txt @@ -3,10 +3,10 @@ System Information ======================================================================== -generated by SchemaCrawler 16.22.2 -generated on 2024-11-03 14:37:49 +generated by SchemaCrawler 16.23.1 +generated on 2024-11-24 02:02:36 database version DB2/LINUXX8664 SQL110590 -driver version IBM Data Server Driver for JDBC and SQLJ 4.33.31 +driver version IBM Data Server Driver for JDBC and SQLJ 4.34.30 @@ -71,11 +71,11 @@ CREATE TRIGGER TRG_Authors Table Constraints -"1103143747133964000006000200" [check constraint] +"1124020234687766000006000200" [check constraint] -"1103143747133964010006000200" [check constraint] +"1124020234687766010006000200" [check constraint] -"1103143747133964020006000200" [check constraint] +"1124020234687766020006000200" [check constraint] CHECK_UPPERCASE_STATE [check constraint] STATE @@ -218,7 +218,7 @@ Z_FK_AUTHOR [foreign key, with no action] Foreign key marking relationship of authors to books AUTHORID (0..many)--> BOOKS.AUTHORS.ID -SQL241103143747650 [foreign key, with no action] +SQL241124020235160 [foreign key, with no action] BOOKID (0..many)--> BOOKS.BOOKS.ID Indexes @@ -229,9 +229,9 @@ UIDX_BOOKAUTHORS [unique index] Table Constraints -"1103143747552069000008000200" [check constraint] +"1124020235078707000008000200" [check constraint] -"1103143747552069010008000200" [check constraint] +"1124020235078707010008000200" [check constraint] Privileges and Grants @@ -286,7 +286,7 @@ PK_BOOKS [primary key] Foreign Keys -SQL241103143747650 [foreign key, with no action] +SQL241124020235160 [foreign key, with no action] ID <--(0..many) BOOKS.BOOKAUTHORS.BOOKID FK_PREVIOUSEDITION [foreign key, with no action] @@ -309,13 +309,13 @@ U_PREVIOUSEDITION [unique constraint] Unique constraint on previous edition of books PREVIOUSEDITIONID -"1103143747337724000007000200" [check constraint] +"1124020234878201000007000200" [check constraint] -"1103143747337724010007000200" [check constraint] +"1124020234878201010007000200" [check constraint] -"1103143747337724030007000200" [check constraint] +"1124020234878201030007000200" [check constraint] -"1103143747337724060007000200" [check constraint] +"1124020234878201060007000200" [check constraint] Privileges and Grants @@ -357,7 +357,7 @@ Primary Key Foreign Keys -SQL241103143748290 [foreign key, with no action] +SQL241124020235770 [foreign key, with no action] "Id" <--(0..1) BOOKS."Celebrity Updates"."Celebrity Id" Indexes @@ -367,7 +367,7 @@ Indexes Table Constraints -110314374788583200000A000200 [check constraint] +112402023536076000000A000200 [check constraint] Privileges and Grants @@ -409,7 +409,7 @@ Primary Key Foreign Keys -SQL241103143748290 [foreign key, with no action] +SQL241124020235770 [foreign key, with no action] "Celebrity Id" (0..1)--> BOOKS."Celebrities"."Id" Indexes @@ -419,7 +419,7 @@ Indexes Table Constraints -110314374808583800000B000200 [check constraint] +112402023555101600000B000200 [check constraint] Privileges and Grants @@ -468,7 +468,7 @@ PK_COUPONS [unique index] Table Constraints -"1103143746442099000004000200" [check constraint] +"1124020234046577000004000200" [check constraint] Privileges and Grants @@ -517,11 +517,11 @@ PK_CUSTOMERS [unique index] Table Constraints -"1103143746926532000005000200" [check constraint] +"1124020234499314000005000200" [check constraint] -"1103143746926532010005000200" [check constraint] +"1124020234499314010005000200" [check constraint] -"1103143746926532020005000200" [check constraint] +"1124020234499314020005000200" [check constraint] Privileges and Grants @@ -563,7 +563,7 @@ List of book publishers Primary Key -SQL241103143747870 [primary key] +SQL241124020235350 [primary key] ID Foreign Keys @@ -573,12 +573,12 @@ FK_ΒΙΒΛΊΑ_PUBLISHERS [foreign key, with no action] Indexes -SQL241103143747770 [unique index] +SQL241124020235250 [unique index] ID ascending Table Constraints -"1103143747665341000009000200" [check constraint] +"1124020235174475000009000200" [check constraint] Privileges and Grants @@ -617,7 +617,7 @@ BOOKS.X_CUSTOMERS [table] Table Constraints -110314374890291500000F000200 [check constraint] +112402023679270900000F000200 [check constraint] Privileges and Grants @@ -659,9 +659,9 @@ BOOKS.X_EMPLOYEES [table] Table Constraints -110314374879694300000E000200 [check constraint] +112402023669709900000E000200 [check constraint] -SQL241103143748890 [check constraint] +SQL241124020236770 [check constraint] ANNUAL_SALARY HOURLY_RATE "HOURLY_RATE" = (ANNUAL_SALARY/2080) @@ -719,11 +719,11 @@ PK_ΒΙΒΛΊΑ [unique index] Table Constraints -110314374830612200000C000200 [check constraint] +112402023581275500000C000200 [check constraint] -110314374830612201000C000200 [check constraint] +112402023581275501000C000200 [check constraint] -110314374830612203000C000200 [check constraint] +112402023581275503000C000200 [check constraint] Privileges and Grants @@ -780,7 +780,7 @@ BOOKS.NEW_PUBLISHER [procedure, no result] PUBLISHER VARCHAR(50), out [specific name] -SQL241103143749082 +SQL241124020236982 Definition [definition] @@ -793,7 +793,7 @@ BOOKS.AGE_TYPE [function, result unknown] ------------------------------------------------------------------------ [specific name] -SQL241103143746872 +SQL241124020234472 @@ -801,7 +801,7 @@ BOOKS.AGE_TYPE [function, result unknown] ------------------------------------------------------------------------ [specific name] -SQL241103143746874 +SQL241124020234474 @@ -809,7 +809,7 @@ BOOKS.CUSTOMADD [function, result unknown] ------------------------------------------------------------------------ [specific name] -SQL241103143749083 +SQL241124020236983 Definition [definition] @@ -824,7 +824,7 @@ BOOKS.CUSTOMADD [function, result unknown] ------------------------------------------------------------------------ [specific name] -SQL241103143749084 +SQL241124020236984 Definition [definition] @@ -839,7 +839,7 @@ BOOKS.NAME_TYPE [function, result unknown] ------------------------------------------------------------------------ [specific name] -SQL241103143746864 +SQL241124020234464 @@ -1057,7 +1057,7 @@ System Information Database Server Information -=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=- CURRENT_SERVER SCHCRWLR -HOST_NAME d58fdfba759e +HOST_NAME 1c01a1b6b2e4 INST_NAME books OS_NAME Linux TOTAL_CPUS 12 @@ -1090,7 +1090,7 @@ deletes are detected for TYPE_SCROLL_INSENSITIVE result sets false deletes are detected for TYPE_SCROLL_SENSITIVE result sets false does max row size include blobs false driver major version 4 -driver minor version 33 +driver minor version 34 extra name characters @# generated key always returned true identifier quote string " @@ -1241,9 +1241,9 @@ uses local files false JDBC Driver Information -=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=- -connection url jdbc:db2://127.0.0.1:57827/schcrwlr +connection url jdbc:db2://127.0.0.1:59718/schcrwlr driver name IBM Data Server Driver for JDBC and SQLJ -driver version 4.33.31 +driver version 4.34.30 driver class name com.ibm.db2.jcc.DB2Driver is JDBC compliant true supported JDBC version 4.2 diff --git a/schemacrawler-db2/src/test/resources/testDB2WithConnection.LTE.txt b/schemacrawler-db2/src/test/resources/testDB2WithConnection.LTE.txt index 963a1f9073..95e9dcf0af 100644 --- a/schemacrawler-db2/src/test/resources/testDB2WithConnection.LTE.txt +++ b/schemacrawler-db2/src/test/resources/testDB2WithConnection.LTE.txt @@ -3,10 +3,10 @@ System Information ======================================================================== -generated by SchemaCrawler 16.22.2 -generated on 2024-11-03 14:45:05 +generated by SchemaCrawler 16.23.1 +generated on 2024-11-24 02:11:38 database version DB2/LINUXX8664 SQL110590 -driver version IBM Data Server Driver for JDBC and SQLJ 4.33.31 +driver version IBM Data Server Driver for JDBC and SQLJ 4.34.30 @@ -71,11 +71,11 @@ CREATE TRIGGER TRG_Authors Table Constraints -"1103144502621768000006000200" [check constraint] +"1124021137220042000006000200" [check constraint] -"1103144502621768010006000200" [check constraint] +"1124021137220042010006000200" [check constraint] -"1103144502621768020006000200" [check constraint] +"1124021137220042020006000200" [check constraint] CHECK_UPPERCASE_STATE [check constraint] STATE @@ -218,7 +218,7 @@ Z_FK_AUTHOR [foreign key, with no action] Foreign key marking relationship of authors to books AUTHORID (0..many)--> BOOKS.AUTHORS.ID -SQL241103144503150 [foreign key, with no action] +SQL241124021137690 [foreign key, with no action] BOOKID (0..many)--> BOOKS.BOOKS.ID Indexes @@ -229,9 +229,9 @@ UIDX_BOOKAUTHORS [unique index] Table Constraints -"1103144503058165000008000200" [check constraint] +"1124021137606405000008000200" [check constraint] -"1103144503058165010008000200" [check constraint] +"1124021137606405010008000200" [check constraint] Privileges and Grants @@ -286,7 +286,7 @@ PK_BOOKS [primary key] Foreign Keys -SQL241103144503150 [foreign key, with no action] +SQL241124021137690 [foreign key, with no action] ID <--(0..many) BOOKS.BOOKAUTHORS.BOOKID FK_PREVIOUSEDITION [foreign key, with no action] @@ -309,13 +309,13 @@ U_PREVIOUSEDITION [unique constraint] Unique constraint on previous edition of books PREVIOUSEDITIONID -"1103144502839792000007000200" [check constraint] +"1124021137403186000007000200" [check constraint] -"1103144502839792010007000200" [check constraint] +"1124021137403186010007000200" [check constraint] -"1103144502839792030007000200" [check constraint] +"1124021137403186030007000200" [check constraint] -"1103144502839792060007000200" [check constraint] +"1124021137403186060007000200" [check constraint] Privileges and Grants @@ -357,7 +357,7 @@ Primary Key Foreign Keys -SQL241103144503760 [foreign key, with no action] +SQL241124021138250 [foreign key, with no action] "Id" <--(0..1) BOOKS."Celebrity Updates"."Celebrity Id" Indexes @@ -367,7 +367,7 @@ Indexes Table Constraints -110314450336555600000A000200 [check constraint] +112402113788509400000A000200 [check constraint] Privileges and Grants @@ -409,7 +409,7 @@ Primary Key Foreign Keys -SQL241103144503760 [foreign key, with no action] +SQL241124021138250 [foreign key, with no action] "Celebrity Id" (0..1)--> BOOKS."Celebrities"."Id" Indexes @@ -419,7 +419,7 @@ Indexes Table Constraints -110314450356952400000B000200 [check constraint] +112402113807454400000B000200 [check constraint] Privileges and Grants @@ -468,7 +468,7 @@ PK_COUPONS [unique index] Table Constraints -"1103144501931025000004000200" [check constraint] +"1124021136607811000004000200" [check constraint] Privileges and Grants @@ -517,11 +517,11 @@ PK_CUSTOMERS [unique index] Table Constraints -"1103144502413105000005000200" [check constraint] +"1124021137037344000005000200" [check constraint] -"1103144502413105010005000200" [check constraint] +"1124021137037344010005000200" [check constraint] -"1103144502413105020005000200" [check constraint] +"1124021137037344020005000200" [check constraint] Privileges and Grants @@ -563,7 +563,7 @@ List of book publishers Primary Key -SQL241103144503350 [primary key] +SQL241124021137870 [primary key] ID Foreign Keys @@ -573,12 +573,12 @@ FK_ΒΙΒΛΊΑ_PUBLISHERS [foreign key, with no action] Indexes -SQL241103144503250 [unique index] +SQL241124021137780 [unique index] ID ascending Table Constraints -"1103144503167908000009000200" [check constraint] +"1124021137701268000009000200" [check constraint] Privileges and Grants @@ -617,7 +617,7 @@ BOOKS.X_CUSTOMERS [table] Table Constraints -110314450435789300000F000200 [check constraint] +112402113880473300000F000200 [check constraint] Privileges and Grants @@ -659,9 +659,9 @@ BOOKS.X_EMPLOYEES [table] Table Constraints -110314450424714000000E000200 [check constraint] +112402113870760400000E000200 [check constraint] -SQL241103144504340 [check constraint] +SQL241124021138790 [check constraint] ANNUAL_SALARY HOURLY_RATE "HOURLY_RATE" = (ANNUAL_SALARY/2080) @@ -719,11 +719,11 @@ PK_ΒΙΒΛΊΑ [unique index] Table Constraints -110314450377021500000C000200 [check constraint] +112402113826657900000C000200 [check constraint] -110314450377021501000C000200 [check constraint] +112402113826657901000C000200 [check constraint] -110314450377021503000C000200 [check constraint] +112402113826657903000C000200 [check constraint] Privileges and Grants @@ -780,7 +780,7 @@ BOOKS.NEW_PUBLISHER [procedure, no result] PUBLISHER VARCHAR(50), out [specific name] -SQL241103144504482 +SQL241124021138982 Definition [definition] @@ -793,7 +793,7 @@ BOOKS.AGE_TYPE [function, result unknown] ------------------------------------------------------------------------ [specific name] -SQL241103144502372 +SQL241124021137072 @@ -801,7 +801,7 @@ BOOKS.AGE_TYPE [function, result unknown] ------------------------------------------------------------------------ [specific name] -SQL241103144502374 +SQL241124021137074 @@ -809,7 +809,7 @@ BOOKS.CUSTOMADD [function, result unknown] ------------------------------------------------------------------------ [specific name] -SQL241103144504483 +SQL241124021138983 Definition [definition] @@ -824,7 +824,7 @@ BOOKS.CUSTOMADD [function, result unknown] ------------------------------------------------------------------------ [specific name] -SQL241103144504484 +SQL241124021138984 Definition [definition] @@ -839,7 +839,7 @@ BOOKS.NAME_TYPE [function, result unknown] ------------------------------------------------------------------------ [specific name] -SQL241103144502364 +SQL241124021136964 @@ -1057,7 +1057,7 @@ System Information Database Server Information -=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=- CURRENT_SERVER SCHCRWLR -HOST_NAME 6fbc79fd157a +HOST_NAME 051d4a1dccae INST_NAME books OS_NAME Linux TOTAL_CPUS 12 @@ -1090,7 +1090,7 @@ deletes are detected for TYPE_SCROLL_INSENSITIVE result sets false deletes are detected for TYPE_SCROLL_SENSITIVE result sets false does max row size include blobs false driver major version 4 -driver minor version 33 +driver minor version 34 extra name characters @# generated key always returned true identifier quote string " @@ -1242,9 +1242,9 @@ uses local files false JDBC Driver Information -=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=- -connection url jdbc:db2://127.0.0.1:58001/schcrwlr +connection url jdbc:db2://127.0.0.1:60380/schcrwlr driver name IBM Data Server Driver for JDBC and SQLJ -driver version 4.33.31 +driver version 4.34.30 driver class name com.ibm.db2.jcc.DB2Driver is JDBC compliant true supported JDBC version 4.2 diff --git a/schemacrawler-dbtest/src/test/resources/testDB2WithConnection.8.txt b/schemacrawler-dbtest/src/test/resources/testDB2WithConnection.8.txt index 3399584345..a931311631 100644 --- a/schemacrawler-dbtest/src/test/resources/testDB2WithConnection.8.txt +++ b/schemacrawler-dbtest/src/test/resources/testDB2WithConnection.8.txt @@ -3,10 +3,10 @@ System Information ======================================================================== -generated by SchemaCrawler 16.22.2 -generated on 2024-11-04 00:58:13 +generated by SchemaCrawler 16.23.1 +generated on 2024-11-24 02:19:01 database version DB2/LINUXX8664 SQL110590 -driver version IBM Data Server Driver for JDBC and SQLJ 4.33.31 +driver version IBM Data Server Driver for JDBC and SQLJ 4.34.30 @@ -154,7 +154,7 @@ Foreign Keys Z_FK_AUTHOR [foreign key, with no action] AUTHORID (0..many)--> BOOKS.AUTHORS.ID -SQL241104005811750 [foreign key, with no action] +SQL241124021859730 [foreign key, with no action] BOOKID (0..many)--> BOOKS.BOOKS.ID Indexes @@ -216,7 +216,7 @@ PK_BOOKS [primary key] Foreign Keys -SQL241104005811750 [foreign key, with no action] +SQL241124021859730 [foreign key, with no action] ID <--(0..many) BOOKS.BOOKAUTHORS.BOOKID FK_PREVIOUSEDITION [foreign key, with no action] @@ -273,7 +273,7 @@ Primary Key Foreign Keys -SQL241104005812350 [foreign key, with no action] +SQL241124021900880 [foreign key, with no action] "Id" <--(0..1) BOOKS."Celebrity Updates"."Celebrity Id" Indexes @@ -321,7 +321,7 @@ Primary Key Foreign Keys -SQL241104005812350 [foreign key, with no action] +SQL241124021900880 [foreign key, with no action] "Celebrity Id" (0..1)--> BOOKS."Celebrities"."Id" Indexes @@ -459,7 +459,7 @@ List of book publishers Primary Key -SQL241104005811950 [primary key] +SQL241124021900010 [primary key] ID Foreign Keys @@ -469,7 +469,7 @@ FK_ΒΙΒΛΊΑ_PUBLISHERS [foreign key, with no action] Indexes -SQL241104005811850 [unique index] +SQL241124021859870 [unique index] ID ascending Privileges and Grants @@ -642,7 +642,7 @@ BOOKS.NEW_PUBLISHER [procedure, no result] PUBLISHER VARCHAR(50), out [specific name] -SQL241104005813082 +SQL241124021901882 @@ -650,7 +650,7 @@ BOOKS.AGE_TYPE [function, result unknown] ------------------------------------------------------------------------ [specific name] -SQL241104005810972 +SQL241124021858672 @@ -658,7 +658,7 @@ BOOKS.AGE_TYPE [function, result unknown] ------------------------------------------------------------------------ [specific name] -SQL241104005811074 +SQL241124021858674 @@ -666,7 +666,7 @@ BOOKS.CUSTOMADD [function, result unknown] ------------------------------------------------------------------------ [specific name] -SQL241104005813083 +SQL241124021901883 @@ -674,7 +674,7 @@ BOOKS.CUSTOMADD [function, result unknown] ------------------------------------------------------------------------ [specific name] -SQL241104005813084 +SQL241124021901884 @@ -682,7 +682,7 @@ BOOKS.NAME_TYPE [function, result unknown] ------------------------------------------------------------------------ [specific name] -SQL241104005810964 +SQL241124021858564 @@ -897,7 +897,7 @@ deletes are detected for TYPE_SCROLL_INSENSITIVE result sets false deletes are detected for TYPE_SCROLL_SENSITIVE result sets false does max row size include blobs false driver major version 4 -driver minor version 33 +driver minor version 34 extra name characters @# generated key always returned true identifier quote string " @@ -1048,9 +1048,9 @@ uses local files false JDBC Driver Information -=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=- -connection url jdbc:db2://127.0.0.1:57830/schcrwlr +connection url jdbc:db2://127.0.0.1:61012/schcrwlr driver name IBM Data Server Driver for JDBC and SQLJ -driver version 4.33.31 +driver version 4.34.30 driver class name com.ibm.db2.jcc.DB2Driver is JDBC compliant true supported JDBC version 4.2 diff --git a/schemacrawler-dbtest/src/test/resources/testDB2WithConnection.LTE.txt b/schemacrawler-dbtest/src/test/resources/testDB2WithConnection.LTE.txt index 144374d3f6..da814fca1e 100644 --- a/schemacrawler-dbtest/src/test/resources/testDB2WithConnection.LTE.txt +++ b/schemacrawler-dbtest/src/test/resources/testDB2WithConnection.LTE.txt @@ -3,10 +3,10 @@ System Information ======================================================================== -generated by SchemaCrawler 16.22.2 -generated on 2024-11-04 01:01:03 +generated by SchemaCrawler 16.23.1 +generated on 2024-11-24 02:20:08 database version DB2/LINUXX8664 SQL110590 -driver version IBM Data Server Driver for JDBC and SQLJ 4.33.31 +driver version IBM Data Server Driver for JDBC and SQLJ 4.34.30 @@ -154,7 +154,7 @@ Foreign Keys Z_FK_AUTHOR [foreign key, with no action] AUTHORID (0..many)--> BOOKS.AUTHORS.ID -SQL241104010101790 [foreign key, with no action] +SQL241124022007750 [foreign key, with no action] BOOKID (0..many)--> BOOKS.BOOKS.ID Indexes @@ -216,7 +216,7 @@ PK_BOOKS [primary key] Foreign Keys -SQL241104010101790 [foreign key, with no action] +SQL241124022007750 [foreign key, with no action] ID <--(0..many) BOOKS.BOOKAUTHORS.BOOKID FK_PREVIOUSEDITION [foreign key, with no action] @@ -273,7 +273,7 @@ Primary Key Foreign Keys -SQL241104010102400 [foreign key, with no action] +SQL241124022008340 [foreign key, with no action] "Id" <--(0..1) BOOKS."Celebrity Updates"."Celebrity Id" Indexes @@ -321,7 +321,7 @@ Primary Key Foreign Keys -SQL241104010102400 [foreign key, with no action] +SQL241124022008340 [foreign key, with no action] "Celebrity Id" (0..1)--> BOOKS."Celebrities"."Id" Indexes @@ -459,7 +459,7 @@ List of book publishers Primary Key -SQL241104010101990 [primary key] +SQL241124022007950 [primary key] ID Foreign Keys @@ -469,7 +469,7 @@ FK_ΒΙΒΛΊΑ_PUBLISHERS [foreign key, with no action] Indexes -SQL241104010101890 [unique index] +SQL241124022007850 [unique index] ID ascending Privileges and Grants @@ -642,7 +642,7 @@ BOOKS.NEW_PUBLISHER [procedure, no result] PUBLISHER VARCHAR(50), out [specific name] -SQL241104010103182 +SQL241124022009082 @@ -650,7 +650,7 @@ BOOKS.AGE_TYPE [function, result unknown] ------------------------------------------------------------------------ [specific name] -SQL241104010101072 +SQL241124022007072 @@ -658,7 +658,7 @@ BOOKS.AGE_TYPE [function, result unknown] ------------------------------------------------------------------------ [specific name] -SQL241104010101074 +SQL241124022007074 @@ -666,7 +666,7 @@ BOOKS.CUSTOMADD [function, result unknown] ------------------------------------------------------------------------ [specific name] -SQL241104010103183 +SQL241124022009083 @@ -674,7 +674,7 @@ BOOKS.CUSTOMADD [function, result unknown] ------------------------------------------------------------------------ [specific name] -SQL241104010103184 +SQL241124022009084 @@ -682,7 +682,7 @@ BOOKS.NAME_TYPE [function, result unknown] ------------------------------------------------------------------------ [specific name] -SQL241104010100964 +SQL241124022006964 @@ -897,7 +897,7 @@ deletes are detected for TYPE_SCROLL_INSENSITIVE result sets false deletes are detected for TYPE_SCROLL_SENSITIVE result sets false does max row size include blobs false driver major version 4 -driver minor version 33 +driver minor version 34 extra name characters @# generated key always returned true identifier quote string " @@ -1049,9 +1049,9 @@ uses local files false JDBC Driver Information -=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=- -connection url jdbc:db2://127.0.0.1:57905/schcrwlr +connection url jdbc:db2://127.0.0.1:61026/schcrwlr driver name IBM Data Server Driver for JDBC and SQLJ -driver version 4.33.31 +driver version 4.34.30 driver class name com.ibm.db2.jcc.DB2Driver is JDBC compliant true supported JDBC version 4.2 diff --git a/schemacrawler-jdbc-drivers/pom.xml b/schemacrawler-jdbc-drivers/pom.xml index 6761d847de..082a9ac399 100644 --- a/schemacrawler-jdbc-drivers/pom.xml +++ b/schemacrawler-jdbc-drivers/pom.xml @@ -51,7 +51,7 @@ com.ibm.db2 jcc - 11.5.9.0 + 12.1.0.0 com.h2database From cba5a791c288b0d5cfb9c695beb20aeab6969346 Mon Sep 17 00:00:00 2001 From: Sualeh Fatehi Date: Sat, 23 Nov 2024 21:23:11 -0500 Subject: [PATCH 2/7] Update Testcontainers --- schemacrawler-parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemacrawler-parent/pom.xml b/schemacrawler-parent/pom.xml index c50906d597..d4f51f6dcd 100644 --- a/schemacrawler-parent/pom.xml +++ b/schemacrawler-parent/pom.xml @@ -56,7 +56,7 @@ org.testcontainers testcontainers-bom - 1.20.3 + 1.20.4 pom import From 6f20d5f5d027c57b51a52f2307e2781783ff446b Mon Sep 17 00:00:00 2001 From: Sualeh Fatehi Date: Sat, 23 Nov 2024 21:28:33 -0500 Subject: [PATCH 3/7] Update CockroachDB image --- .../integration/test/CockroachDBTest.java | 2 +- .../testCockroachDBWithConnection.8.txt | 263 ++++++++++++++++-- .../testCockroachDBWithConnection.LTE.txt | 263 ++++++++++++++++-- 3 files changed, 487 insertions(+), 41 deletions(-) diff --git a/schemacrawler-dbtest/src/test/java/schemacrawler/integration/test/CockroachDBTest.java b/schemacrawler-dbtest/src/test/java/schemacrawler/integration/test/CockroachDBTest.java index a18d6248d7..43654e9b5f 100644 --- a/schemacrawler-dbtest/src/test/java/schemacrawler/integration/test/CockroachDBTest.java +++ b/schemacrawler-dbtest/src/test/java/schemacrawler/integration/test/CockroachDBTest.java @@ -60,7 +60,7 @@ public class CockroachDBTest extends BaseAdditionalDatabaseTest { private static final DockerImageName imageName = - DockerImageName.parse("cockroachdb/cockroach").withTag("v19.2.12"); + DockerImageName.parse("cockroachdb/cockroach").withTag("v20.2.9"); @Container private final JdbcDatabaseContainer dbContainer = new CockroachContainer(imageName); diff --git a/schemacrawler-dbtest/src/test/resources/testCockroachDBWithConnection.8.txt b/schemacrawler-dbtest/src/test/resources/testCockroachDBWithConnection.8.txt index 52de7dbe33..bb02d9bdb1 100644 --- a/schemacrawler-dbtest/src/test/resources/testCockroachDBWithConnection.8.txt +++ b/schemacrawler-dbtest/src/test/resources/testCockroachDBWithConnection.8.txt @@ -3,8 +3,8 @@ System Information ======================================================================== -generated by SchemaCrawler 16.22.2 -generated on 2024-09-18 00:44:19 +generated by SchemaCrawler 16.23.1 +generated on 2024-11-24 02:24:58 database version PostgreSQL 9.5.0 driver version PostgreSQL JDBC Driver 42.7.4 @@ -49,17 +49,63 @@ idx_b_authors [non-unique index] idx_a_authors [non-unique index] city ascending - state ascending + state descending postalcode ascending country ascending +Privileges and Grants + +DELETE [privilege] + root --> root (grantable) + +INSERT [privilege] + root --> root (grantable) + +REFERENCES [privilege] + root --> root (grantable) + +SELECT [privilege] + root --> root (grantable) + +TRIGGER [privilege] + root --> root (grantable) + +TRUNCATE [privilege] + root --> root (grantable) + +UPDATE [privilege] + root --> root (grantable) + public.authorslist [view] ------------------------------------------------------------------------ - id int8 not null - firstname varchar(20) not null - lastname varchar(20) not null + id int8 + firstname varchar(20) + lastname varchar(20) + +Privileges and Grants + +DELETE [privilege] + root --> root (grantable) + +INSERT [privilege] + root --> root (grantable) + +REFERENCES [privilege] + root --> root (grantable) + +SELECT [privilege] + root --> root (grantable) + +TRIGGER [privilege] + root --> root (grantable) + +TRUNCATE [privilege] + root --> root (grantable) + +UPDATE [privilege] + root --> root (grantable) @@ -87,12 +133,6 @@ fk_bookid_ref_books [foreign key, with no action] Indexes -bookauthors_auto_index_z_fk_author [non-unique index] - authorid ascending - -bookauthors_auto_index_fk_bookid_ref_books [non-unique index] - bookid ascending - "primary" [unique index] rowid ascending @@ -100,6 +140,29 @@ uidx_bookauthors [unique index] bookid ascending authorid ascending +Privileges and Grants + +DELETE [privilege] + root --> root (grantable) + +INSERT [privilege] + root --> root (grantable) + +REFERENCES [privilege] + root --> root (grantable) + +SELECT [privilege] + root --> root (grantable) + +TRIGGER [privilege] + root --> root (grantable) + +TRUNCATE [privilege] + root --> root (grantable) + +UPDATE [privilege] + root --> root (grantable) + public.books [table] @@ -141,6 +204,29 @@ pk_books [unique index] u_previousedition [unique index] previouseditionid ascending +Privileges and Grants + +DELETE [privilege] + root --> root (grantable) + +INSERT [privilege] + root --> root (grantable) + +REFERENCES [privilege] + root --> root (grantable) + +SELECT [privilege] + root --> root (grantable) + +TRIGGER [privilege] + root --> root (grantable) + +TRUNCATE [privilege] + root --> root (grantable) + +UPDATE [privilege] + root --> root (grantable) + public."Celebrities" [table] @@ -163,6 +249,29 @@ Indexes "PK_Celebrities" [unique index] "Id" ascending +Privileges and Grants + +DELETE [privilege] + root --> root (grantable) + +INSERT [privilege] + root --> root (grantable) + +REFERENCES [privilege] + root --> root (grantable) + +SELECT [privilege] + root --> root (grantable) + +TRIGGER [privilege] + root --> root (grantable) + +TRUNCATE [privilege] + root --> root (grantable) + +UPDATE [privilege] + root --> root (grantable) + public."Celebrity Updates" [table] @@ -185,6 +294,29 @@ Indexes "PK Celebrity Updates" [unique index] "Celebrity Id" ascending +Privileges and Grants + +DELETE [privilege] + root --> root (grantable) + +INSERT [privilege] + root --> root (grantable) + +REFERENCES [privilege] + root --> root (grantable) + +SELECT [privilege] + root --> root (grantable) + +TRIGGER [privilege] + root --> root (grantable) + +TRUNCATE [privilege] + root --> root (grantable) + +UPDATE [privilege] + root --> root (grantable) + public.publishers [table] @@ -210,6 +342,29 @@ Indexes "primary" [unique index] id ascending +Privileges and Grants + +DELETE [privilege] + root --> root (grantable) + +INSERT [privilege] + root --> root (grantable) + +REFERENCES [privilege] + root --> root (grantable) + +SELECT [privilege] + root --> root (grantable) + +TRIGGER [privilege] + root --> root (grantable) + +TRUNCATE [privilege] + root --> root (grantable) + +UPDATE [privilege] + root --> root (grantable) + public."Βιβλία" [table] @@ -231,12 +386,32 @@ fk_βιβλία_publishers [foreign key, with no action] Indexes -"Βιβλία_auto_index_fk_βιβλία_publishers" [non-unique index] - "Εκδότης" ascending - pk_βιβλία [unique index] "Μοναδικός" ascending +Privileges and Grants + +DELETE [privilege] + root --> root (grantable) + +INSERT [privilege] + root --> root (grantable) + +REFERENCES [privilege] + root --> root (grantable) + +SELECT [privilege] + root --> root (grantable) + +TRIGGER [privilege] + root --> root (grantable) + +TRUNCATE [privilege] + root --> root (grantable) + +UPDATE [privilege] + root --> root (grantable) + Data Types @@ -254,6 +429,12 @@ _bool [data type] not auto-incrementable searchable +_box2d [data type] + defined with no parameters + nullable + not auto-incrementable + searchable + _bpchar [data type] defined with no parameters nullable @@ -290,6 +471,18 @@ _float8 [data type] not auto-incrementable searchable +_geography [data type] + defined with no parameters + nullable + not auto-incrementable + searchable + +_geometry [data type] + defined with no parameters + nullable + not auto-incrementable + searchable + _inet [data type] defined with no parameters nullable @@ -416,6 +609,12 @@ _timestamptz [data type] not auto-incrementable searchable +_timetz [data type] + defined with no parameters + nullable + not auto-incrementable + searchable + _uuid [data type] defined with no parameters nullable @@ -464,6 +663,12 @@ bool [data type] not auto-incrementable searchable +box2d [data type] + defined with no parameters + nullable + not auto-incrementable + searchable + bpchar [data type] defined with no parameters nullable @@ -500,6 +705,18 @@ float8 [data type] not auto-incrementable searchable +geography [data type] + defined with no parameters + nullable + not auto-incrementable + searchable + +geometry [data type] + defined with no parameters + nullable + not auto-incrementable + searchable + inet [data type] defined with no parameters nullable @@ -638,6 +855,12 @@ timestamptz [data type] not auto-incrementable searchable +timetz [data type] + defined with no parameters + nullable + not auto-incrementable + searchable + unknown [data type] defined with no parameters nullable @@ -754,9 +977,9 @@ own updates are visible for TYPE_SCROLL_SENSITIVE result sets true procedure term function result set holdability 1 schema term schema -schemas crdb_internal, information_schema, pg_catalog, public +schemas crdb_internal, information_schema, pg_catalog, pg_extension, public search string escape \ -SQL keywords abort, aggregate, analyse, analyze, annotate_type, automatic, backup, bigserial, bit, bool, bytea, bytes, cache, cancel, changefeed, cluster, columns, comment, compact, complete, concurrently, configuration, configurations, configure, conflict, conversion, copy, covering, current_catalog, current_schema, database, databases, discard, do, encoding, enum, experimental, experimental_audit, experimental_fingerprints, experimental_relocate, experimental_replica, expiration, explain, export, extension, extract_duration, family, files, float4, float8, force_index, grants, greatest, groups, hash, high, histogram, if, iferror, ifnull, ignore_foreign_keys, ilike, import, include, incremental, index, indexes, inet, inject, int2, int2vector, int4, int64, int8, interleave, inverted, iserror, isnull, job, jobs, json, jsonb, keys, kv, lc_collate, lc_ctype, lease, least, less, limit, list, locked, lookup, low, materialized, nan, no_index_join, normal, nothing, notnull, nowait, off, offset, oid, oids, oidvector, operator, opt, owned, parent, partitions, password, pause, physical, plan, plans, priority, publication, queries, query, ranges, regclass, regnamespace, regproc, regprocedure, regtype, reindex, rename, replace, reset, restore, restrict, resume, returning, roles, rule, scatter, schemas, scrub, sequences, serial, serial2, serial4, serial8, server, sessions, setting, settings, share, show, skip, smallserial, snapshot, split, statistics, status, stdin, store, stored, storing, strict, string, subscription, syntax, tables, temp, template, testing_relocate, text, throttling, timestamptz, timetz, trace, truncate, trusted, unlogged, unsplit, upsert, use, users, uuid, valid, validate, varbit, variadic, virtual +SQL keywords abort, access, aggregate, analyse, analyze, annotate_type, automatic, backup, backups, bit, box2d, bucket_count, bundle, cache, cancel, cancelquery, changefeed, cluster, columns, comment, comments, compact, complete, concurrently, configuration, configurations, configure, conflict, connection, controlchangefeed, controljob, conversion, copy, covering, createdb, createlogin, createrole, current_catalog, current_schema, database, databases, destination, detached, discard, do, encoding, encryption_passphrase, enum, enums, execution, experimental, experimental_audit, experimental_fingerprints, experimental_relocate, experimental_replica, expiration, explain, export, extension, extract_duration, family, files, force_index, generated, geography, geometry, geometrycollection, geometrycollectionm, geometrycollectionz, geometrycollectionzm, geometrym, geometryz, geometryzm, grants, greatest, groups, hash, high, histogram, if, iferror, ifnull, ignore_foreign_keys, ilike, import, include, incremental, index, indexes, inherits, inject, interleave, into_db, inverted, iserror, isnull, job, jobs, json, keys, kms, kv, latest, lc_collate, lc_ctype, lease, least, less, limit, linestring, list, locked, login, lookup, low, materialized, modifyclustersetting, multilinestring, multilinestringm, multilinestringz, multilinestringzm, multipoint, multipointm, multipointz, multipointzm, multipolygon, multipolygonm, multipolygonz, multipolygonzm, nan, never, no_index_join, nocancelquery, nocontrolchangefeed, nocontroljob, nocreatedb, nocreatelogin, nocreaterole, nologin, nomodifyclustersetting, normal, nothing, notnull, noviewactivity, nowait, off, offset, oids, operator, opt, owned, owner, parent, partitions, password, pause, paused, physical, plan, plans, point, pointm, pointz, pointzm, polygon, polygonm, polygonz, polygonzm, priority, publication, queries, query, ranges, recurring, refresh, reindex, rename, replace, reset, restore, restrict, resume, retry, returning, revision_history, roles, rule, running, scatter, schedule, schedules, schemas, scrub, sequences, server, sessions, setting, settings, share, show, skip, skip_missing_foreign_keys, skip_missing_sequence_owners, skip_missing_sequences, skip_missing_views, snapshot, split, statistics, status, stdin, storage, store, stored, storing, strict, string, subscription, syntax, tables, tablespace, temp, template, tenant, testing_relocate, text, throttling, timestamptz, timetz, trace, transactions, truncate, trusted, types, unlogged, unsplit, until, upsert, use, users, valid, validate, varbit, variadic, viewactivity, virtual SQL state type 2 stores lower case identifiers true stores lower case quoted identifiers false @@ -834,7 +1057,7 @@ supports union all true system functions database, ifnull, user table types FOREIGN TABLE, INDEX, MATERIALIZED VIEW, PARTITIONED INDEX, PARTITIONED TABLE, SEQUENCE, SYSTEM INDEX, SYSTEM TABLE, SYSTEM TOAST INDEX, SYSTEM TOAST TABLE, SYSTEM VIEW, TABLE, TEMPORARY INDEX, TEMPORARY SEQUENCE, TEMPORARY TABLE, TEMPORARY VIEW, TYPE, VIEW time date functions curdate, curtime, dayname, dayofmonth, dayofweek, dayofyear, hour, minute, month, monthname, now, quarter, second, timestampadd, week, year -type info _bit, _bool, _bpchar, _bytea, _char, _date, _float4, _float8, _inet, _int2, _int2vector, _int4, _int8, _interval, _jsonb, _name, _numeric, _oid, _oidvector, _record, _regclass, _regnamespace, _regproc, _regprocedure, _regtype, _text, _time, _timestamp, _timestamptz, _uuid, _varbit, _varchar, anyarray, anyelement, bigserial, bit, bool, bpchar, bytea, char, date, float4, float8, inet, int2, int2vector, int4, int8, interval, jsonb, name, numeric, oid, oidvector, record, regclass, regnamespace, regproc, regprocedure, regtype, serial, smallserial, text, time, timestamp, timestamptz, unknown, uuid, varbit, varchar +type info _bit, _bool, _box2d, _bpchar, _bytea, _char, _date, _float4, _float8, _geography, _geometry, _inet, _int2, _int2vector, _int4, _int8, _interval, _jsonb, _name, _numeric, _oid, _oidvector, _record, _regclass, _regnamespace, _regproc, _regprocedure, _regtype, _text, _time, _timestamp, _timestamptz, _timetz, _uuid, _varbit, _varchar, anyarray, anyelement, bigserial, bit, bool, box2d, bpchar, bytea, char, date, float4, float8, geography, geometry, inet, int2, int2vector, int4, int8, interval, jsonb, name, numeric, oid, oidvector, record, regclass, regnamespace, regproc, regprocedure, regtype, serial, smallserial, text, time, timestamp, timestamptz, timetz, unknown, uuid, varbit, varchar updates are detected for TYPE_FORWARD_ONLY result sets false updates are detected for TYPE_SCROLL_INSENSITIVE result sets false updates are detected for TYPE_SCROLL_SENSITIVE result sets false @@ -844,7 +1067,7 @@ uses local files false JDBC Driver Information -=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=- -connection url jdbc:postgresql://localhost:59018/postgres +connection url jdbc:postgresql://localhost:61329/postgres driver name PostgreSQL JDBC Driver driver version 42.7.4 driver class name org.postgresql.Driver @@ -1072,7 +1295,7 @@ PGHOST [driver property] PGPORT [driver property] Port of the PostgreSQL server (may be specified directly in the JDBC URL) not required - value 59018 + value 61329 preferQueryMode [driver property] Specifies which mode is used to execute queries to database: simple means ('Q' execute, no parse, no bind, text mode only), extended means always use bind/execute messages, extendedForPrepared means extended for prepared statements only, extendedCacheEverything means use extended protocol and try cache every statement (including Statement.execute(String sql)) in a query cache. diff --git a/schemacrawler-dbtest/src/test/resources/testCockroachDBWithConnection.LTE.txt b/schemacrawler-dbtest/src/test/resources/testCockroachDBWithConnection.LTE.txt index ce89449762..8a7506a38c 100644 --- a/schemacrawler-dbtest/src/test/resources/testCockroachDBWithConnection.LTE.txt +++ b/schemacrawler-dbtest/src/test/resources/testCockroachDBWithConnection.LTE.txt @@ -3,8 +3,8 @@ System Information ======================================================================== -generated by SchemaCrawler 16.22.2 -generated on 2024-09-18 00:47:30 +generated by SchemaCrawler 16.23.1 +generated on 2024-11-24 02:27:21 database version PostgreSQL 9.5.0 driver version PostgreSQL JDBC Driver 42.7.4 @@ -49,17 +49,63 @@ idx_b_authors [non-unique index] idx_a_authors [non-unique index] city ascending - state ascending + state descending postalcode ascending country ascending +Privileges and Grants + +DELETE [privilege] + root --> root (grantable) + +INSERT [privilege] + root --> root (grantable) + +REFERENCES [privilege] + root --> root (grantable) + +SELECT [privilege] + root --> root (grantable) + +TRIGGER [privilege] + root --> root (grantable) + +TRUNCATE [privilege] + root --> root (grantable) + +UPDATE [privilege] + root --> root (grantable) + public.authorslist [view] ------------------------------------------------------------------------ - id int8 not null - firstname varchar(20) not null - lastname varchar(20) not null + id int8 + firstname varchar(20) + lastname varchar(20) + +Privileges and Grants + +DELETE [privilege] + root --> root (grantable) + +INSERT [privilege] + root --> root (grantable) + +REFERENCES [privilege] + root --> root (grantable) + +SELECT [privilege] + root --> root (grantable) + +TRIGGER [privilege] + root --> root (grantable) + +TRUNCATE [privilege] + root --> root (grantable) + +UPDATE [privilege] + root --> root (grantable) @@ -87,12 +133,6 @@ fk_bookid_ref_books [foreign key, with no action] Indexes -bookauthors_auto_index_z_fk_author [non-unique index] - authorid ascending - -bookauthors_auto_index_fk_bookid_ref_books [non-unique index] - bookid ascending - "primary" [unique index] rowid ascending @@ -100,6 +140,29 @@ uidx_bookauthors [unique index] bookid ascending authorid ascending +Privileges and Grants + +DELETE [privilege] + root --> root (grantable) + +INSERT [privilege] + root --> root (grantable) + +REFERENCES [privilege] + root --> root (grantable) + +SELECT [privilege] + root --> root (grantable) + +TRIGGER [privilege] + root --> root (grantable) + +TRUNCATE [privilege] + root --> root (grantable) + +UPDATE [privilege] + root --> root (grantable) + public.books [table] @@ -141,6 +204,29 @@ pk_books [unique index] u_previousedition [unique index] previouseditionid ascending +Privileges and Grants + +DELETE [privilege] + root --> root (grantable) + +INSERT [privilege] + root --> root (grantable) + +REFERENCES [privilege] + root --> root (grantable) + +SELECT [privilege] + root --> root (grantable) + +TRIGGER [privilege] + root --> root (grantable) + +TRUNCATE [privilege] + root --> root (grantable) + +UPDATE [privilege] + root --> root (grantable) + public."Celebrities" [table] @@ -163,6 +249,29 @@ Indexes "PK_Celebrities" [unique index] "Id" ascending +Privileges and Grants + +DELETE [privilege] + root --> root (grantable) + +INSERT [privilege] + root --> root (grantable) + +REFERENCES [privilege] + root --> root (grantable) + +SELECT [privilege] + root --> root (grantable) + +TRIGGER [privilege] + root --> root (grantable) + +TRUNCATE [privilege] + root --> root (grantable) + +UPDATE [privilege] + root --> root (grantable) + public."Celebrity Updates" [table] @@ -185,6 +294,29 @@ Indexes "PK Celebrity Updates" [unique index] "Celebrity Id" ascending +Privileges and Grants + +DELETE [privilege] + root --> root (grantable) + +INSERT [privilege] + root --> root (grantable) + +REFERENCES [privilege] + root --> root (grantable) + +SELECT [privilege] + root --> root (grantable) + +TRIGGER [privilege] + root --> root (grantable) + +TRUNCATE [privilege] + root --> root (grantable) + +UPDATE [privilege] + root --> root (grantable) + public.publishers [table] @@ -210,6 +342,29 @@ Indexes "primary" [unique index] id ascending +Privileges and Grants + +DELETE [privilege] + root --> root (grantable) + +INSERT [privilege] + root --> root (grantable) + +REFERENCES [privilege] + root --> root (grantable) + +SELECT [privilege] + root --> root (grantable) + +TRIGGER [privilege] + root --> root (grantable) + +TRUNCATE [privilege] + root --> root (grantable) + +UPDATE [privilege] + root --> root (grantable) + public."Βιβλία" [table] @@ -231,12 +386,32 @@ fk_βιβλία_publishers [foreign key, with no action] Indexes -"Βιβλία_auto_index_fk_βιβλία_publishers" [non-unique index] - "Εκδότης" ascending - pk_βιβλία [unique index] "Μοναδικός" ascending +Privileges and Grants + +DELETE [privilege] + root --> root (grantable) + +INSERT [privilege] + root --> root (grantable) + +REFERENCES [privilege] + root --> root (grantable) + +SELECT [privilege] + root --> root (grantable) + +TRIGGER [privilege] + root --> root (grantable) + +TRUNCATE [privilege] + root --> root (grantable) + +UPDATE [privilege] + root --> root (grantable) + Data Types @@ -254,6 +429,12 @@ _bool [data type] not auto-incrementable searchable +_box2d [data type] + defined with no parameters + nullable + not auto-incrementable + searchable + _bpchar [data type] defined with no parameters nullable @@ -290,6 +471,18 @@ _float8 [data type] not auto-incrementable searchable +_geography [data type] + defined with no parameters + nullable + not auto-incrementable + searchable + +_geometry [data type] + defined with no parameters + nullable + not auto-incrementable + searchable + _inet [data type] defined with no parameters nullable @@ -416,6 +609,12 @@ _timestamptz [data type] not auto-incrementable searchable +_timetz [data type] + defined with no parameters + nullable + not auto-incrementable + searchable + _uuid [data type] defined with no parameters nullable @@ -464,6 +663,12 @@ bool [data type] not auto-incrementable searchable +box2d [data type] + defined with no parameters + nullable + not auto-incrementable + searchable + bpchar [data type] defined with no parameters nullable @@ -500,6 +705,18 @@ float8 [data type] not auto-incrementable searchable +geography [data type] + defined with no parameters + nullable + not auto-incrementable + searchable + +geometry [data type] + defined with no parameters + nullable + not auto-incrementable + searchable + inet [data type] defined with no parameters nullable @@ -638,6 +855,12 @@ timestamptz [data type] not auto-incrementable searchable +timetz [data type] + defined with no parameters + nullable + not auto-incrementable + searchable + unknown [data type] defined with no parameters nullable @@ -754,9 +977,9 @@ own updates are visible for TYPE_SCROLL_SENSITIVE result sets true procedure term function result set holdability 1 schema term schema -schemas crdb_internal, information_schema, pg_catalog, public +schemas crdb_internal, information_schema, pg_catalog, pg_extension, public search string escape \ -SQL keywords abort, aggregate, analyse, analyze, annotate_type, automatic, backup, bigserial, bit, bool, bytea, bytes, cache, cancel, changefeed, cluster, columns, comment, compact, complete, concurrently, configuration, configurations, configure, conflict, conversion, copy, covering, current_catalog, current_schema, database, databases, discard, do, encoding, enum, experimental, experimental_audit, experimental_fingerprints, experimental_relocate, experimental_replica, expiration, explain, export, extension, extract_duration, family, files, float4, float8, force_index, grants, greatest, groups, hash, high, histogram, if, iferror, ifnull, ignore_foreign_keys, ilike, import, include, incremental, index, indexes, inet, inject, int2, int2vector, int4, int64, int8, interleave, inverted, iserror, isnull, job, jobs, json, jsonb, keys, kv, lc_collate, lc_ctype, lease, least, less, limit, list, locked, lookup, low, materialized, nan, no_index_join, normal, nothing, notnull, nowait, off, offset, oid, oids, oidvector, operator, opt, owned, parent, partitions, password, pause, physical, plan, plans, priority, publication, queries, query, ranges, regclass, regnamespace, regproc, regprocedure, regtype, reindex, rename, replace, reset, restore, restrict, resume, returning, roles, rule, scatter, schemas, scrub, sequences, serial, serial2, serial4, serial8, server, sessions, setting, settings, share, show, skip, smallserial, snapshot, split, statistics, status, stdin, store, stored, storing, strict, string, subscription, syntax, tables, temp, template, testing_relocate, text, throttling, timestamptz, timetz, trace, truncate, trusted, unlogged, unsplit, upsert, use, users, uuid, valid, validate, varbit, variadic, virtual +SQL keywords abort, access, aggregate, analyse, analyze, annotate_type, automatic, backup, backups, bit, box2d, bucket_count, bundle, cache, cancel, cancelquery, changefeed, cluster, columns, comment, comments, compact, complete, concurrently, configuration, configurations, configure, conflict, connection, controlchangefeed, controljob, conversion, copy, covering, createdb, createlogin, createrole, current_catalog, current_schema, database, databases, destination, detached, discard, do, encoding, encryption_passphrase, enum, enums, execution, experimental, experimental_audit, experimental_fingerprints, experimental_relocate, experimental_replica, expiration, explain, export, extension, extract_duration, family, files, force_index, generated, geography, geometry, geometrycollection, geometrycollectionm, geometrycollectionz, geometrycollectionzm, geometrym, geometryz, geometryzm, grants, greatest, groups, hash, high, histogram, if, iferror, ifnull, ignore_foreign_keys, ilike, import, include, incremental, index, indexes, inherits, inject, interleave, into_db, inverted, iserror, isnull, job, jobs, json, keys, kms, kv, latest, lc_collate, lc_ctype, lease, least, less, limit, linestring, list, locked, login, lookup, low, materialized, modifyclustersetting, multilinestring, multilinestringm, multilinestringz, multilinestringzm, multipoint, multipointm, multipointz, multipointzm, multipolygon, multipolygonm, multipolygonz, multipolygonzm, nan, never, no_index_join, nocancelquery, nocontrolchangefeed, nocontroljob, nocreatedb, nocreatelogin, nocreaterole, nologin, nomodifyclustersetting, normal, nothing, notnull, noviewactivity, nowait, off, offset, oids, operator, opt, owned, owner, parent, partitions, password, pause, paused, physical, plan, plans, point, pointm, pointz, pointzm, polygon, polygonm, polygonz, polygonzm, priority, publication, queries, query, ranges, recurring, refresh, reindex, rename, replace, reset, restore, restrict, resume, retry, returning, revision_history, roles, rule, running, scatter, schedule, schedules, schemas, scrub, sequences, server, sessions, setting, settings, share, show, skip, skip_missing_foreign_keys, skip_missing_sequence_owners, skip_missing_sequences, skip_missing_views, snapshot, split, statistics, status, stdin, storage, store, stored, storing, strict, string, subscription, syntax, tables, tablespace, temp, template, tenant, testing_relocate, text, throttling, timestamptz, timetz, trace, transactions, truncate, trusted, types, unlogged, unsplit, until, upsert, use, users, valid, validate, varbit, variadic, viewactivity, virtual SQL state type 2 stores lower case identifiers true stores lower case quoted identifiers false @@ -835,7 +1058,7 @@ supports union all true system functions database, ifnull, user table types FOREIGN TABLE, INDEX, MATERIALIZED VIEW, PARTITIONED INDEX, PARTITIONED TABLE, SEQUENCE, SYSTEM INDEX, SYSTEM TABLE, SYSTEM TOAST INDEX, SYSTEM TOAST TABLE, SYSTEM VIEW, TABLE, TEMPORARY INDEX, TEMPORARY SEQUENCE, TEMPORARY TABLE, TEMPORARY VIEW, TYPE, VIEW time date functions curdate, curtime, dayname, dayofmonth, dayofweek, dayofyear, hour, minute, month, monthname, now, quarter, second, timestampadd, week, year -type info _bit, _bool, _bpchar, _bytea, _char, _date, _float4, _float8, _inet, _int2, _int2vector, _int4, _int8, _interval, _jsonb, _name, _numeric, _oid, _oidvector, _record, _regclass, _regnamespace, _regproc, _regprocedure, _regtype, _text, _time, _timestamp, _timestamptz, _uuid, _varbit, _varchar, anyarray, anyelement, bigserial, bit, bool, bpchar, bytea, char, date, float4, float8, inet, int2, int2vector, int4, int8, interval, jsonb, name, numeric, oid, oidvector, record, regclass, regnamespace, regproc, regprocedure, regtype, serial, smallserial, text, time, timestamp, timestamptz, unknown, uuid, varbit, varchar +type info _bit, _bool, _box2d, _bpchar, _bytea, _char, _date, _float4, _float8, _geography, _geometry, _inet, _int2, _int2vector, _int4, _int8, _interval, _jsonb, _name, _numeric, _oid, _oidvector, _record, _regclass, _regnamespace, _regproc, _regprocedure, _regtype, _text, _time, _timestamp, _timestamptz, _timetz, _uuid, _varbit, _varchar, anyarray, anyelement, bigserial, bit, bool, box2d, bpchar, bytea, char, date, float4, float8, geography, geometry, inet, int2, int2vector, int4, int8, interval, jsonb, name, numeric, oid, oidvector, record, regclass, regnamespace, regproc, regprocedure, regtype, serial, smallserial, text, time, timestamp, timestamptz, timetz, unknown, uuid, varbit, varchar updates are detected for TYPE_FORWARD_ONLY result sets false updates are detected for TYPE_SCROLL_INSENSITIVE result sets false updates are detected for TYPE_SCROLL_SENSITIVE result sets false @@ -845,7 +1068,7 @@ uses local files false JDBC Driver Information -=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=- -connection url jdbc:postgresql://localhost:59571/postgres +connection url jdbc:postgresql://localhost:61370/postgres driver name PostgreSQL JDBC Driver driver version 42.7.4 driver class name org.postgresql.Driver @@ -1073,7 +1296,7 @@ PGHOST [driver property] PGPORT [driver property] Port of the PostgreSQL server (may be specified directly in the JDBC URL) not required - value 59571 + value 61370 preferQueryMode [driver property] Specifies which mode is used to execute queries to database: simple means ('Q' execute, no parse, no bind, text mode only), extended means always use bind/execute messages, extendedForPrepared means extended for prepared statements only, extendedCacheEverything means use extended protocol and try cache every statement (including Statement.execute(String sql)) in a query cache. From 9964f3592ec580b80ab19c8e684d7e7c8e4e79fc Mon Sep 17 00:00:00 2001 From: Sualeh Fatehi Date: Sat, 23 Nov 2024 21:29:22 -0500 Subject: [PATCH 4/7] Update Redshift driver --- schemacrawler-jdbc-drivers/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemacrawler-jdbc-drivers/pom.xml b/schemacrawler-jdbc-drivers/pom.xml index 082a9ac399..2fbc22ea57 100644 --- a/schemacrawler-jdbc-drivers/pom.xml +++ b/schemacrawler-jdbc-drivers/pom.xml @@ -88,7 +88,7 @@ com.amazon.redshift redshift-jdbc42 - 2.1.0.30 + 2.1.0.31 org.firebirdsql.jdbc From 90fd97131b72ca973196d436cad26c0bae0d3ed2 Mon Sep 17 00:00:00 2001 From: Sualeh Fatehi Date: Sat, 23 Nov 2024 21:30:22 -0500 Subject: [PATCH 5/7] Update maven-javadoc-plugin --- schemacrawler-parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemacrawler-parent/pom.xml b/schemacrawler-parent/pom.xml index d4f51f6dcd..6fa8925cb6 100644 --- a/schemacrawler-parent/pom.xml +++ b/schemacrawler-parent/pom.xml @@ -269,7 +269,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.10.1 + 3.11.1 8 From 19d519fbf4cc39d0369e132ef2cd6e5c7c368170 Mon Sep 17 00:00:00 2001 From: Sualeh Fatehi Date: Sat, 23 Nov 2024 21:32:42 -0500 Subject: [PATCH 6/7] Update maven-dependency-plugin --- schemacrawler-distrib/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemacrawler-distrib/pom.xml b/schemacrawler-distrib/pom.xml index d56408b86c..649d47fcdd 100644 --- a/schemacrawler-distrib/pom.xml +++ b/schemacrawler-distrib/pom.xml @@ -154,7 +154,7 @@ org.apache.maven.plugins maven-dependency-plugin - 3.8.0 + 3.8.1 From 57ec68683cf705f3d2d7caf398b1e7360ac1140a Mon Sep 17 00:00:00 2001 From: Sualeh Fatehi Date: Sat, 23 Nov 2024 21:35:42 -0500 Subject: [PATCH 7/7] Update codecov --- .github/workflows/test-coverage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-coverage.yml b/.github/workflows/test-coverage.yml index a95b869b89..e1418a66ca 100644 --- a/.github/workflows/test-coverage.yml +++ b/.github/workflows/test-coverage.yml @@ -45,7 +45,7 @@ jobs: - id: publish-coverage-codecov name: Upload coverage report to Codecov if: contains(github.ref, 'main') - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} verbose: true