提交 7142daca 编写于 作者: B BoDing

docs: comment

上级 753a8862
...@@ -12,7 +12,6 @@ public class ConnectCloudExample { ...@@ -12,7 +12,6 @@ public class ConnectCloudExample {
String jdbcUrl = System.getenv("TDENGINE_JDBC_URL"); String jdbcUrl = System.getenv("TDENGINE_JDBC_URL");
try(Connection conn = DriverManager.getConnection(jdbcUrl)) { try(Connection conn = DriverManager.getConnection(jdbcUrl)) {
try(Statement stmt = conn.createStatement()) { try(Statement stmt = conn.createStatement()) {
// test the connection by execute a query
stmt.executeQuery("select server_version()"); stmt.executeQuery("select server_version()");
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册