public boolean isReady() {
		boolean result = true;
		Connection conn = null;
		try {
			conn = getJdbcTemplate().getDataSource().getConnection();
		}
		catch (Exception ex) {
			result = false;
		}
		finally {
			if (conn != null) {
				try {
					conn.close();
				}
				catch (SQLException se) {
					// ignore exception. Sorry PMD.
				}
			}
		}
		return result;
	}
Determines if a connection to the designated database can be made.

@return true if a connection can be made. False if not.
spring-xd-test-fixtures/src/main/java/org/springframework/xd/test/fixtures/JdbcSink.java