Cannot insert explicit value for identity column in table 'domain_event_entry' when IDENTITY_INSERT is set to OFF

Hi

I am upgrading my JDK8+Axon 3.x application to Java 17 + Axon 4.10 with Hibernate 6

While creating an event, I get following error
Cannot insert explicit value for identity column in table ‘domain_event_entry’ when IDENTITY_INSERT is set to OFF

the fact that I have upgraded to Hibernate 6, I have also created a sequence domain_event_enty_seq - However, it looks like it is not able to insert explicit value in global_index column which is primary key and identity column

Can you suggest how to fix this?