Hi there
Do real nested transactions exist in H2?
For example:
(Running in H2 console, auto-commit checkbox OFF):
set lock_mode 1;
select * from test;
begin;
select * from test;
begin;
insert into test (value) values ('hello');
commit;
select * from test;
rollback;
select * from test;
This is adding rows to my 'test' table. The inner trans is being committed, although it is a second-level transaction, and the first level being rollbacked.
I'm sure this is easily explained.
Thanks
Rich