There is a method in the JDBC API: DatabaseMetaData.getURL(). But
somethings this URL is not the 'real' URL (in Java functions).

Do you mean that it's unusable or that it is mostly usable but has one or two
ways that it can lie? Anyway to connect one needs username and password and
that can never be retrieved from anywhere. So the url needs to be hardcoded anyways. My thought continues in the second answer below...


From where do you need a new connection? From the trigger? If yes,
there is already a connection available in the trigger, why do you
need another one?


I need the connection in Trigger's close() and remove() methods.
I think I mentioned this in an earlier mail.
How am I supposed to do cleanup if I don't have a connection to the database?

- rami

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