enqueue not working with oracle
tonsanders79 opened this issue · 1 comments
tonsanders79 commented
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.
stale commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.