Skip to content

enqueue not working with oracle #1243

@tonsanders79

Description

@tonsanders79

I have tried to enable enqueue with oracle, but I have to modify the following parts of the code in order to make it work.

The following files have been modified: DbalConsumerHelperTrait.php, DbalProducer.php and DbalContext, with the list of changes below:

  1. for both parameters id and deliveryId, instead of assigning the $deliveryId = Uuid::uuid4(), i started to assign the string $deliveryId = Uuid::uuid4()->toString;
  2. instead of setting id and deliveryId as GUID, I defined them as TEXT
  3. had to use array_change_key_case to change the array keys to lower case when extracting data from oracle, as it was coming in capital letters. e.g. $arrayMessage['id'] was failing.

Can you advise if these changes are valid, or there was any other to handle Oracle?
These changes are also working on postgress.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions