improved transaction handling in JdbcContentPersistenceService to
prevent deadlocks