Commit Graph

43 Commits

Author SHA1 Message Date
github-actions[bot] 700e06d57e chore(jdbc): bump plugin version [skip ci] 2026-06-10 05:02:32 +00:00
t8y2 fdc4214bbb fix(jdbc): handle UnsupportedOperationException from Hive-based JDBC drivers
Catch UnsupportedOperationException alongside SQLFeatureNotSupportedException
and AbstractMethodError in DbxJdbcPlugin. Hive-based drivers (e.g., Transwarp
Inceptor) throw UnsupportedOperationException for unsupported optional JDBC
methods instead of the standard SQLFeatureNotSupportedException. Since it is
a RuntimeException, it previously propagated uncaught and crashed the connection.

Fixes #912
2026-06-09 14:11:33 +08:00
t8y2 90a1316037 fix(jdbc): avoid IRIS max rows SQL rewrite 2026-06-08 16:17:27 +08:00
github-actions[bot] f3858eb271 chore(jdbc): bump plugin version [skip ci] 2026-06-07 18:26:47 +00:00
Quinlevi 897e6998fd
feat(dameng): full DM8 database support
Adds Dameng DM8 explain/autotrace support and user-management SQL support, with backend autotrace safety checks and escaped CREATE USER SQL.
2026-06-08 02:07:00 +08:00
t8y2 e780e66e41 fix(sql): improve kingbase metadata loading and dangerous sql confirmation 2026-06-05 12:48:29 +08:00
t8y2 120566b1fd fix: improve JDBC dialect handling 2026-06-04 19:40:52 +08:00
t8y2 07edb39d77 feat(jdbc-plugin): bundle slf4j-api, slf4j-nop, and commons-lang3
Many JDBC drivers depend on SLF4J and commons-lang3 at runtime but
don't shade them. Bundling these in the plugin JAR avoids
NoClassDefFoundError when users import driver JARs.
2026-06-04 18:21:08 +08:00
t8y2 834dc534c6 fix: combine Oracle-like MODIFY statements and fix DATA_DEFAULT column ordering
- table_structure_sql: merge separate MODIFY statements for type, nullability,
  and default into a single MODIFY statement. This fixes Dameng's requirement
  that MODIFY includes the full column definition.
- DbxJdbcPlugin: move DATA_DEFAULT to first SELECT position and read it first
  in the ResultSet loop (LONG columns must be read before other columns).
2026-06-04 16:57:44 +08:00
t8y2 9935f8e7fe fix: improve iris schema metadata completion 2026-06-04 15:09:56 +08:00
github-actions[bot] 2f9d58a4fa chore(jdbc): bump plugin version [skip ci] 2026-06-03 18:11:15 +00:00
t8y2 26a31feea1 fix(jdbc): use driver-specific URL param separators 2026-06-03 21:25:38 +08:00
t8y2 94c987c693 fix(metadata): tolerate opengauss column metadata failures 2026-06-03 21:18:34 +08:00
t8y2 72ababd2b8 fix(iris): skip schema execution context 2026-06-03 19:29:39 +08:00
t8y2 5bd94ba201 fix(jdbc): apply url params to connection url 2026-06-03 15:59:25 +08:00
github-actions[bot] d776e7bd37 chore(jdbc): bump plugin version [skip ci] 2026-06-03 04:55:36 +00:00
t8y2 9adf2b8d00 fix(dameng): deduplicate column metadata 2026-06-03 12:38:36 +08:00
t8y2 a95b82aea2 fix(oracle): support SYSDBA JDBC connections 2026-06-03 02:44:02 +08:00
t8y2 0566110eae fix(jdbc): honor connection timeout 2026-06-02 20:12:24 +08:00
t8y2 2f765fa69c fix(jdbc): honor query execution settings 2026-06-02 20:07:54 +08:00
t8y2 216f4c5867 fix(jdbc): resolve dameng comment metadata casing 2026-06-02 16:43:02 +08:00
github-actions[bot] ad9b7e5908 chore(jdbc): bump plugin version [skip ci] 2026-06-01 20:59:14 +00:00
t8y2 7eca75b325 feat: support Oracle package sources 2026-06-01 18:43:20 +08:00
t8y2 6da367a47b fix(jdbc): support encrypted sqlite with managed runtime 2026-06-01 17:52:11 +08:00
github-actions[bot] 5e6d94afff chore(jdbc): bump plugin version [skip ci] 2026-05-28 18:03:46 +00:00
t8y2 f8ade78e97 fix(jdbc): enable Oracle metadata path for Dameng column comments
Dameng JDBC driver does not populate the REMARKS field from
DatabaseMetaData.getColumns(). Instead, map jdbc:dm: URLs to ORACLE_QUIRKS
so column comments are retrieved via all_col_comments system view, matching
how Oracle connections are handled.

Fixes #504
2026-05-28 23:46:11 +08:00
github-actions[bot] 647a2156a8 chore(jdbc): bump plugin version [skip ci] 2026-05-26 19:15:39 +00:00
vvrf 3a595c8efb
fix: render binary values as hex (#465) 2026-05-26 22:46:00 +08:00
github-actions[bot] a14cb73a49 chore(jdbc): bump plugin version [skip ci] 2026-05-22 04:11:45 +00:00
t8y2 a08d2aaab9 fix(agents): align managed JRE with Java 21 drivers 2026-05-21 22:11:00 +08:00
github-actions[bot] 367037465c chore(jdbc): bump plugin version [skip ci] 2026-05-19 13:02:44 +00:00
t8y2 462e0fad1b feat(jdbc): optimize Oracle metadata queries with direct SQL
Replace DatabaseMetaData API calls with direct queries against Oracle
data dictionary views (ALL_TABLES, ALL_TAB_COLUMNS, ALL_CONSTRAINTS etc.)
for connections using jdbc:oracle: URLs. Also sets Oracle-specific
connection properties (remarksReporting, restrictGetTables, etc.).
2026-05-19 18:33:17 +08:00
t8y2 3719d60dbc fix(jdbc): catch AbstractMethodError for getSchema/getCatalog
OceanBase Oracle JDBC driver does not implement getSchema() and
potentially getCatalog(), causing AbstractMethodError crashes.

Closes #336
2026-05-19 17:51:36 +08:00
t8y2 652486840b chore: bump version to 0.1.2 for JDBC plugin 2026-05-18 19:05:11 +08:00
t8y2 7badf4060e fix(jdbc): stabilize plugin release versioning 2026-05-18 15:10:08 +08:00
t8y2 b150a8e99a fix(jdbc): support non-transactional grid edits 2026-05-18 14:53:54 +08:00
t8y2 57dea3cb6d feat(drivers): add JDBC quirks and RedisJSON previews 2026-05-18 14:07:14 +08:00
t8y2 1d57bc575f fix(jdbc): support catalogless metadata fallback 2026-05-18 11:02:33 +08:00
t8y2 3be6f4486a fix(jdbc): apply query execution context 2026-05-16 10:49:54 +08:00
t8y2 c2da1f866c feat(objects): show functions and procedures in sidebar tree
Add list_objects support for agent-driven databases (Dameng, Oracle, etc.)
and ExternalDriver plugin connections. SQL Server dbo schema now uses
listObjects to display grouped object nodes including routines.

- Add list_objects RPC to JDBC agent plugin
- Add extract_agent and ExternalDriver branches in list_objects_core
- Add get_object_source support for agent connections
- Click function/procedure nodes to view source via object browser
- Fix duplicate tree node IDs when same name exists as view and function
2026-05-15 13:02:19 +08:00
t8y2 692815fd45 chore: bump version to 0.5.5 2026-05-13 17:14:57 +08:00
t8y2 6be7170dfb fix: add Windows launcher for JDBC plugin (os error 193) 2026-05-13 14:27:47 +08:00
t8y2 10bfede1c7 feat(jdbc): add optional JDBC plugin support 2026-05-10 12:57:38 +08:00