On 2013-10-02 16:10, Nicolas Fortin (OrbisGIS) wrote:
Hi,
AggregateFunction and table function can be time consuming, as h2
provide a way to get the current task progression.
I'm wondering if there is a way to acquire the Connection's
DatabaseEventListener ?
You set up a DatabaseEventListener as documented there:
http://h2database.com/javadoc/org/h2/api/DatabaseEventListener.html
<http://h2database.com/javadoc/org/h2/api/DatabaseEventListener.html?highlight=DatabaseEventListener&search=DatabaseEventListener>
However it only triggers events at statement start and statement end, so
there is no way of knowing where inside a statement it is.
And in general there is no good way of implementing such a thing either,
given the complexity of SQL.
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/groups/opt_out.