On 12/07/2011 5:32 PM, Thomas Mueller wrote:
That's possible, also for compatibility with HSQLDB. I guess it
doesn't make sense to change the existing interface (backwards
compatibility); instead, an Adapter style extension could be added.
Can you give an example of what you had in mind?
See the HSQLDB documentation.
You've outlined a way for detecting whether fire() is handling UPDATE,
DELETE or INSERT. What about SELECT or ROLLBACK?
Currently, there is no way to find out if a trigger was called because
a transaction was rolled back, that's true.
What about SELECT?
Anyway, I'm fine with whatever solution you come up with so long as
we can reliably detect the different trigger types are fire-time. Do you
plan on adding this functionality in the near future?
Thanks,
Gili
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/h2-database?hl=en.