Rewriting RemoteDbAdapter