Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Opens and returns a new server connection.
java.sql.Connection ServerContext.makeConnection() throws SQLException
The newly created server connection.
Thrown if an error occured while opening a new connection.
This connection is owned by the user java code. It must be committed and closed by the user.
To access the server context use the DBConnectionContext.getServerContext method on the DBConnectionContext for the current connection.
Opening a connection can be expensive. Write your logic so that the number of calls to this method are minimized.