Jira issue originally created by user eriksencosta:
I get an ESTRICT error in Doctrine\DBAL\Driver\OCI8\Driver::constructDsn() because I forgot to set a 'dbname' key in the params array to Doctrine\DBAL\DriverManager.
My Doctrine is a svn checkout, from 2.0.0-beta1 tag.
A patch is attached (patch -p0 < patch.diff on project root).
Comment created by @beberlei:
is specifying the database name optional during connection to oracle databases? otherwise we could also throw an exception.
Comment created by eriksencosta:
It's optional, according to http://php.net/oci_connect:
"If not specified, PHP uses environment variables such as TWOTASK (on Linux) or LOCAL (on Windows) and ORACLESID to determine the Oracle instance to connect to."
I just spotted the error, I don't have an Oracle database neither the oci8 extension in my machine.
Issue was closed with resolution "Fixed"
Imported 1 attachments from Jira into https://gist.github.com/105e5b46f632c09fe007