umm. are you asking the db engine to connect to itself from inside a trigger?
On May 26, 2010, at 3:38 PM, Rami Ojares 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].
> 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.