| Modifier and Type | Field and Description |
|---|---|
| pack-priv PreparedStatement | |
| pack-priv PreparedStatement | |
| private final Lock | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| pack-priv PreparedStatement |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | destroy()
Implements com. Called once by the driver when the connection this provider instance belongs to is being closed. |
| public Properties | getClientInfo(Connection
connection object conn)Implements com. Returns the client info for the connection that this provider instance belongs to. |
| public String | getClientInfo(Connection
connection object conn, String property name name)Implements com. Returns the client info for the connection that this provider instance belongs to. |
| public void | initialize(Connection
the connection that the provider belongs too. conn, Properties a java.util.Properties instance that contains
configuration information for the connection. configurationProps)Implements com. Called once by the driver when it needs to configure the provider. |
| public void | setClientInfo(Connection
connection object conn, Properties Properties object properties)Implements com. Sets the client info for the connection that this provider instance belongs to. |
| public void | setClientInfo(Connection
connection object conn, String property name name, String property value value)Implements com. Sets the client info for the connection that this provider instance belongs to. |
| getClientInfoBulkSp | back to summary |
|---|---|
| pack-priv PreparedStatement getClientInfoBulkSp | |
| getClientInfoSp | back to summary |
|---|---|
| pack-priv PreparedStatement getClientInfoSp | |
| lock | back to summary |
|---|---|
| private final Lock lock | |
| PNAME_clientInfoDatabase | back to summary |
|---|---|
| public static final String PNAME_clientInfoDatabase | |
| PNAME_clientInfoGetBulkSPName | back to summary |
|---|---|
| public static final String PNAME_clientInfoGetBulkSPName | |
| PNAME_clientInfoGetSPName | back to summary |
|---|---|
| public static final String PNAME_clientInfoGetSPName | |
| PNAME_clientInfoSetSPName | back to summary |
|---|---|
| public static final String PNAME_clientInfoSetSPName | |
| setClientInfoSp | back to summary |
|---|---|
| pack-priv PreparedStatement setClientInfoSp | |
| ClientInfoProviderSP | back to summary |
|---|---|
| public ClientInfoProviderSP() | |
| destroy | back to summary |
|---|---|
| public void destroy() throws SQLException Implements com. Doc from com. Called once by the driver when the connection this provider instance belongs to is being closed. Implementations are expected to clean up and resources at this point in time.
| |
| getClientInfo | back to summary |
|---|---|
| public Properties getClientInfo(Connection conn) throws SQLException Implements com. Doc from com. Returns the client info for the connection that this provider instance belongs to. The connection instance is passed as an argument for convenience's sake. Providers can use the connection to communicate with the database, but it will be within the scope of any ongoing transactions, so therefore implementations should not attempt to change isolation level, autocommit settings or call rollback() or commit() on the connection.
| |
| getClientInfo | back to summary |
|---|---|
| public String getClientInfo(Connection conn, String name) throws SQLException Implements com. Doc from com. Returns the client info for the connection that this provider instance belongs to. The connection instance is passed as an argument for convenience's sake. Providers can use the connection to communicate with the database, but it will be within the scope of any ongoing transactions, so therefore implementations should not attempt to change isolation level, autocommit settings or call rollback() or commit() on the connection.
| |
| initialize | back to summary |
|---|---|
| public void initialize(Connection conn, Properties configurationProps) throws SQLException Implements com. Doc from com. Called once by the driver when it needs to configure the provider.
| |
| setClientInfo | back to summary |
|---|---|
| public void setClientInfo(Connection conn, Properties properties) throws SQLClientInfoException Implements com. Doc from com. Sets the client info for the connection that this provider instance belongs to. The connection instance is passed as an argument for convenience's sake. Providers can use the connection to communicate with the database, but it will be within the scope of any ongoing transactions, so therefore implementations should not attempt to change isolation level, autocommit settings or call rollback() or commit() on the connection.
| |
| setClientInfo | back to summary |
|---|---|
| public void setClientInfo(Connection conn, String name, String value) throws SQLClientInfoException Implements com. Doc from com. Sets the client info for the connection that this provider instance belongs to. The connection instance is passed as an argument for convenience's sake. Providers can use the connection to communicate with the database, but it will be within the scope of any ongoing transactions, so therefore implementations should not attempt to change isolation level, autocommit settings or call rollback() or commit() on the connection.
| |