From 7c461af0ed140efa0d90c2cf57f3351b0a85732a Mon Sep 17 00:00:00 2001 From: aiceflower Date: Thu, 2 Jan 2025 14:07:12 +0800 Subject: [PATCH] code format --- .../linkis/manager/engineplugin/jdbc/ConnectionManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }