DatabaseConnection now returns the appropriate adapter based on the connection.