Subject | Re: [Firebird-Java] Re: Using FbStatisticsManager to getHeaderPage() will not timeout |
---|---|
Author | Roman Rokytskyy |
Post date | 2008-07-31T14:41:53Z |
> I am using Spring and jdbcTemplate to manage my Firebird connectionsIf you can get the SQLException.getErrorCode(), you could check whether
> 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.
is is equal to ISCConstants.isc_shutdown to know this for sure.
> Its not perfectPlease create a bug report in our tracker for this issue.
> by any means but should give me another layer of protection until we
> know why it hangs.
Roman