Hi Noel,
I know that's what H2 says, but (unless I missed something) the code in
question never asks for an exclusive lock.
I took the stack-trace attached to the exception I quoted and tracked it
back to this query:
select PERMISSION_PATH.PARENT_ID\nfrom PERMISSION_PATH
PERMISSION_PATH\nwhere PERMISSION_PATH.CHILD_ID = ?
As you can see, there is no UPDATE, DELETE or SELECT ... FOR UPDATE
there, so why does H2 think I'm asking for an exclusive lock? Is it
because I'm in SERIALIZABLE mode (LOCK_MODE = 1)?
If you send me your email address, I will send you a log file with more
context. I can't share it with the general public because it contains
some confidential information. My address is cowwoc at
bbs.darktech.org.
Please email me there and I'll reply with the log.
Thanks,
Gili