mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-20 00:17:44 +00:00
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
This commit is contained in:
@@ -44,7 +44,8 @@ public final class DbxJdbcPlugin {
|
||||
private static final JdbcDriverQuirks ORACLE_QUIRKS = new JdbcDriverQuirks(false, true);
|
||||
private static final List<JdbcDriverQuirkRule> DRIVER_QUIRK_RULES = List.of(
|
||||
new JdbcDriverQuirkRule("jdbc:yasdb:", YASHAN_QUIRKS),
|
||||
new JdbcDriverQuirkRule("jdbc:oracle:", ORACLE_QUIRKS)
|
||||
new JdbcDriverQuirkRule("jdbc:oracle:", ORACLE_QUIRKS),
|
||||
new JdbcDriverQuirkRule("jdbc:dm:", ORACLE_QUIRKS)
|
||||
);
|
||||
private static String registeredDriverKey = "";
|
||||
private static String sharedConnectionKey = "";
|
||||
|
||||
Reference in New Issue
Block a user