On 22 maalis, 22:07, Thomas Mueller <[email protected]> wrote: > Hi, > > > I think the key must be the Connection object > > It will create two distinct trigger objects. The init method of the > trigger will also contain the table name and so on. The unique > identifier of a database is usually the database URL by the way.
Ah, of course. So I've got the table name, and the URL can be got from Connection.getMetaData().getURL(). Together they uniquely identify the table that the trigger represents (for the lifetime of that Connection at least; URLs can change, but certainly not while there are live connections to them). Thanks! Best Regards, Joonas -- 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.
