Subject Re: FBResourceException
Author Roman Rokytskyy
> <parameter>
> <name>validationQuery</name>
> <value>select expression</value>
> </parameter>

As select expression you can use

SELECT CAST(1 AS INTEGER) FROM rdb$database

This select will always succeed if connection is still alive and will
have exactly one row.

Roman