SimpleResultSet and TriggerAdapter

20 views
Skip to first unread message

Wayne Gibson

unread,
Nov 11, 2019, 7:00:43 AM11/11/19
to H2 Database

Firstly new to H2, great library :)



I'm using 1.4.200 and trying to insert rows into a view to emulate a SQL table.. Found out that that H2 supports this via the a TriggerAdapter.


I've implemented one and implemented only fire(Connection conn, ResultSet oldRow, ResultSet newRow)

Just wanted to confirm that ResultSet will only have one row and that I shouldn't iterator over the result?


As at the moment when I do, it is going into continous loop..  Is this a bug or expected ?

Reply all
Reply to author
Forward
0 new messages