Open francescoparadisiniva opened 3 months ago
Looks like a valid use case as defined in oci_new_connect. Maybe we use another config that will trigger this behavior?
Just a rough idea, maybe we can add a 'cached' => false
config which will use oci_new_connect
if set to false.
Feel free to submit a PR, thanks!
Hi everyone!
I have the following Code but it doesn't work.
The oracle connection and oracle_log connection have the same configs.
Using the oci_connect function, as stated in the PHP documentation, oci_connect() with the same parameters will return the connection handle returned from the first call. Using Laravel singletons for connections, there should be no problems with an increase in sessions.
My proposal would be to use the oci_new_connect function instead of oci_connect or use a parameter within the config on which function to use.