-
Notifications
You must be signed in to change notification settings - Fork 437
Closed
Labels
Description
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:
- for both parameters id and deliveryId, instead of assigning the $deliveryId = Uuid::uuid4(), i started to assign the string $deliveryId = Uuid::uuid4()->toString;
- instead of setting id and deliveryId as GUID, I defined them as TEXT
- 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.