We need the 'sleepTime' field of the DefaultDatabaseLocker class to be externalized. We're using a custom (non-blocking) lock create statement and we need to make the sleepTime a bit longer.
Currently there's no mechanism to change the value of this field. 1000 ms is the default and only possible value for 'sleepTime'.
We need to have this value externalized to the JDBCPersistenceAdapter. There should be a setter in the JDBCPersistenceAdapter, so that we are able to provide a custom value for this field in our Spring context. This value should be then copied from JDBCPersistenceAdapter to the DefaultDatabaseLocker when an instance of the DefaultDatabaseLocker is created.