Compatibility update to DB adapter