SQL state [72000]; error code [14300]; Could not execute JDBC batch update

JDBC exception on Hibernate data access: SQLException for SQL [insert into… statement]; SQL state [72000]; error code [14300]; Could not execute JDBC batch update; nested exception is org.hibernate.QueryTimeoutException: Could not execute JDBC batch update

I am getting above error when trying to insert the object using saveOrUpdate.
Can someone help me in resolving the above issue? TIA

The partition key is null in the record I.e being inserted, so that’s why this error occurred.