Select Next Val(seq) hangs insert statement in hibernate


sequence belongs to´different table
insert statement is done for different table’

As i check postgres db locks :select nextval block insert statement

we are using hibernate orm for save operation


Try to replicate it with this test case template and we are going to look at it once you replicated it.