getAnchorConnectionID(java.sql.Connection) Method

Returns the ID of the initial statement routing connection that was made when the application established the connection.

Parameters

Type Name Description
java.sql.Connection connection The connection whose ID you are requesting.

Returns

Type Description
int The ID of the initial statement routing connection.