fix getAllDomainMetadata in oracle backend

@cmouse it would have been nice if there was something about untested code in the commit message of 16534364e49daee6d67b3ba32c16dba9472f73fc