Commit 55b715d8 by 吴延飞

读取文件都从当前文件路径直接获取

parent 15ac2829
......@@ -10,7 +10,7 @@ import java.sql.SQLException;
public class DorisUtils {
public static Connection getConnection() throws Exception {
String propertyPath = ".\\realtime\\hologram-streaming\\src\\main\\resources\\doris.properties";
String propertyPath = "./doris.properties";
return getConnection(propertyPath);
}
......
......@@ -11,7 +11,7 @@ import java.sql.SQLException;
public class MySQLUtils {
public static Connection getConnection() throws Exception {
String propertyPath = ".\\realtime\\hologram-streaming\\src\\main\\resources\\mysql.properties";
String propertyPath = "./mysql.properties";
return getConnection(propertyPath);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment