Subject Re: [Firebird-Java] Re: Using FbStatisticsManager to getHeaderPage() will not timeout
Author Roman Rokytskyy
> I am using Spring and jdbcTemplate to manage my Firebird connections
> anyway so for now I am going to try and query a known system table
> for the current time or something and catch the DataAccessException
> if this is not available, from that I will assume the database is at
> least online before trying to query the headerpage.

If you can get the SQLException.getErrorCode(), you could check whether
is is equal to ISCConstants.isc_shutdown to know this for sure.

> Its not perfect
> by any means but should give me another layer of protection until we
> know why it hangs.

Please create a bug report in our tracker for this issue.