- TIBCO BusinessEvents®
- RDBMS
- Database

# Database.getConnectionStatus()

## Signature

`int getConnectionStatus(String jdbcResourceURI)`

## Domain

ACTION, CONDITION, BUI

## Description

This method can be used to query the health of the underlying connection pool and action can be taken accordingly.

## Parameters

Name | Type | Description
--- | --- | ---
`jdbcResourceURI` | `String` | The JDBC URI for which connection status is required

## Returns

Type | Description
--- | ---
`int` | 0 or 1, 0 indicates that the connections are bad. 1 indicates good connections.

## Cautions

none