Skip to content

Commit dbae473

Browse files
committed
remove jsqlparser
1 parent 6b11ae0 commit dbae473

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/com/codingapi/dbstream/driver/DBStreamProxyDriver.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ public boolean acceptsURL(String url) throws SQLException {
5252
Enumeration<Driver> drivers = DriverManager.getDrivers();
5353
while (drivers.hasMoreElements()) {
5454
Driver driver = drivers.nextElement();
55+
if(driver.getClass().equals(DBStreamProxyDriver.class)){
56+
continue;
57+
}
5558
if (driver.acceptsURL(url)) {
5659
this.driver = driver;
5760
return true;

0 commit comments

Comments
 (0)