fix(iris): qualify Cache JDBC table previews

Refs: #8514
This commit is contained in:
t8y2 committed 2026-09-09 10:35:49 +08:00
1 parent a4e4fd0d2f
commit 6d1eb026cd
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ const JDBC_DIALECT_MATCHERS: Array<{ type: DatabaseType; patterns: RegExp[] }> =
{ type: "informix", patterns: [/jdbc:informix/i, /informix/i] },
// CacheDB.jar (legacy Caché driver) carries none of the intersystems URL or
// class-name markers, so match the jar file name / driver label directly.
{ type: "iris", patterns: [/jdbc:(?:iris|cache):/i, /com\.intersystems\.jdbc\.(?:IRIS|Cache)Driver/i, /intersystems-jdbc/i, /cachedb/i] },
{ type: "iris", patterns: [/jdbc:(?:iris|cache):/i, /com\.intersystems\.jdbc\.(?:IRIS|Cache)Driver/i, /intersystems-jdbc/i, /\bcache(?:db)?\b/i] },
];
// ASE uses Transact-SQL, but treating it as SQL Server globally would also