-
Notifications
You must be signed in to change notification settings - Fork 97
Open
Description
in a Rest API I called:
<JpaRepository>.deleteAll();
<JpaRepository>.flush();
<JpaRepository>.saveAndFlush(<Entity>)
But that gives me: database is locked
That's because the transactions aren't committed to the database, until the end of the Rest API the deleteAll isn't executed on the database and the resource isn't released.
Metadata
Metadata
Assignees
Labels
No labels