Fixed transaction management and DB configuration