Closed
Description
The commit spring-projects/spring-framework@083113d changed the way that exceptions are translated from the database exception. In some of our tests, what before was a DuplicateKeyException
now is a DataIntegrityViolationException
and we ignore the DataIntegrityViolationException
. See:
The code should be adapted to the new behavior. It is important to note that in case of a duplicate key we should still consider throwing an exception since it is a clue to users that they need to expose a SessionRepositoryCustomizer
Bean (see #1213)