Hi,

> Passing data to triggers example seems to me a bit misleading.

You mean the TriggerPassData? It's not a good example, I will change
it. At least the key of the map must also include the database path
and name, and the schema name.

> But what I noticed is that more than one instance of a trigger is created

Yes, if you have more than one database.

> I think triggers are implemented as instances (not static) because of some
> concurrency concerns.
> Did I quess correctly?

Yes.

> If there is only 1 instance / 1 trigger (which would be good :)
> it does raise the question why are they not implemented as static methods 
> like functions?

There could be multiple databases and tables that use the same trigger class.

Regards,
Thomas

-- 
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.

Reply via email to