Hi,

> I was not talking about how to implement relations but how they should be
> visible to users.

I know. The reason why I used arrays instead of using the ResultSet
interface was: triggers need to be very fast. Both your and my
implementation are much slower than using an array, because they
create a new ResulSet for each call. However, there is a way to
improve performance: by reusing the same SimpleResultSet for each
call. I have now implemented such an adapter. It will be included in
the next release. See
http://code.google.com/p/h2database/source/browse/trunk/h2/src/main/org/h2/tools/TriggerAdapter.java

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