diff --git a/linkis-engineconn-plugins/jdbc/src/main/java/org/apache/linkis/manager/engineplugin/jdbc/ConnectionManager.java b/linkis-engineconn-plugins/jdbc/src/main/java/org/apache/linkis/manager/engineplugin/jdbc/ConnectionManager.java index aad754ff93..db24f6ecc2 100644 --- a/linkis-engineconn-plugins/jdbc/src/main/java/org/apache/linkis/manager/engineplugin/jdbc/ConnectionManager.java +++ b/linkis-engineconn-plugins/jdbc/src/main/java/org/apache/linkis/manager/engineplugin/jdbc/ConnectionManager.java @@ -224,7 +224,7 @@ private Connection getConnectionFromDataSource( } } if (url.contains("oracle")) { - ((DruidDataSource)dataSource).setValidationQuery("SELECT 1 FROM DUAL"); + ((DruidDataSource) dataSource).setValidationQuery("SELECT 1 FROM DUAL"); } return dataSource.getConnection(); }