|
|
|
@ -24,7 +24,7 @@ public class ClassLoaderHandler extends AbstractDataSourceDriverLoader {
|
|
|
|
|
public static final String DRIVER_LIB_DIR = "driverlib"; |
|
|
|
|
|
|
|
|
|
//demo设置为mysql为目标驱动
|
|
|
|
|
private static final String DRIVER_NAME_KEY = "com.mysql.jdbc.Driver"; |
|
|
|
|
private static final String DRIVER_NAME_KEY = "org.apache.hive.jdbc.HiveDriver"; |
|
|
|
|
|
|
|
|
|
@Focus(id = "com.fr.plugin.dialect.classloader.ClassLoaderHandler", text = "", source = Original.PLUGIN) |
|
|
|
|
public boolean isInterceptAllowed(String driverName) { |
|
|
|
|