Skip to content

Commit 5d737bd

Browse files
author
David Hasani
committed
add legacy jdbc string
1 parent 29768a3 commit 5d737bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/codewhisperer/commands/startTransformByQ.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ export async function getValidSQLConversionCandidateProjects() {
748748
let resultLog = ''
749749
for (const project of javaProjects) {
750750
// as long as at least one of these strings is found, project contains embedded SQL statements
751-
const searchStrings = ['oracle.jdbc.OracleDriver', 'jdbc:oracle:thin:@//', 'jdbc:oracle:oci:@//']
751+
const searchStrings = ['oracle.jdbc.OracleDriver', 'jdbc:oracle:thin:@', 'jdbc:oracle:oci:@', 'jdbc:odbc:']
752752
for (const str of searchStrings) {
753753
const spawnResult = await findStringInDirectory(str, project.path)
754754
// just for telemetry purposes

0 commit comments

Comments
 (0)