What do you mean by "removing a trigger". From my reading of the documentation <http://www.h2database.com/html/features.html#triggers>your trigger should be handed a connection object, so why do you need to create your own?
Cheers Kerry On Thu, May 27, 2010 at 10:38 AM, Rami Ojares <[email protected]> wrote: > Hi again, > > When removing a trigger I try to delete some data from the database > So in trigger's remove method I obtain a connection > > Connection conn = > DriverManager.getConnection("jdbc:h2:tcp://localhost/dbname"); > > But at this point the whole process hangs. > And I can't figure out why. > Some kind of deadlock. > > It can't be killed normally with CTRL-C > but instead only with kill -kill (hard kill). > > How could I obtain a connection to the database in Trigger's remove method? > > - 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]<h2-database%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/h2-database?hl=en. > > -- 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.
