Resuming a TDS Session

When you specify a SESSION_ID, jConnect skips the login phase of the protocol and resumes the connection with the gateway using the designated session ID.

Set the SESSION_ID connection property so that, if necessary, you can resume an existing open connection.

If the session ID you specified does not exist on the servlet, jConnect throws a SQL exception the first time you attempt to use the connection.