Having just moved platform from mySQL to firebird I am finding it difficult to find an acceptable way of capturing SQL commands being passed from a Java .jar application to the database server (Firebird). I need to analyse the commands as well as the "cost" of the queries being passed over in terms of execution time and so on.
With MySQL it was possible to use the maatkit toolkit but unfortunately this does not appear to work with Firebird.
Does anyone have an appropriate and comparable approach to maatkit for Firebird? Or using strace or similar?