Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
打开并返回新的服务器连接。
java.sql.Connection ServerContext.makeConnection() throws SQLException
新创建的服务器连接。
java.sql.SQLException 如果在打开新连接时出错,则抛出该异常。
此连接归用户 java 代码所有。必须由用户提交并关闭。
要访问服务器环境,请使用 [DBConnectionContext] 上的 [DBConnectionContext.getServerContext] 方法以获得当前连接。
打开一个连接的开销很大。编写您的逻辑以使对此方法的调用次数降到最低。