Documentation

AbstractOracleDriver
in package
implements Driver, ExceptionConverterDriver

Abstract base implementation of the {@link Doctrine\DBAL\Driver} interface for Oracle based drivers.

Tags
author

Steve Müller st.mueller@dzh-online.de

link
www.doctrine-project.org
since
2.5

Interfaces, Classes and Traits

Driver
Driver interface.
ExceptionConverterDriver
Contract for a driver that is capable of converting DBAL driver exceptions into standardized DBAL driver exceptions.

Table of Contents

convertException()  : DriverException
Converts a given DBAL driver exception into a standardized DBAL driver exception.
getDatabase()  : string
Gets the name of the database connected to for this driver.
getDatabasePlatform()  : AbstractPlatform
Gets the DatabasePlatform instance that provides all the metadata about the platform this driver connects to.
getSchemaManager()  : AbstractSchemaManager
Gets the SchemaManager that can be used to inspect and change the underlying database schema of the platform this driver connects to.
getEasyConnectString()  : string
Returns an appropriate Easy Connect String for the given parameters.

Methods

convertException()

Converts a given DBAL driver exception into a standardized DBAL driver exception.

public convertException(mixed $message, DriverException $exception) : DriverException
Parameters
$message : mixed

The DBAL exception message to use.

$exception : DriverException

The DBAL driver exception to convert.

Return values
DriverException

An instance of one of the DriverException subclasses.

getDatabase()

Gets the name of the database connected to for this driver.

public getDatabase(Connection $conn) : string
Parameters
$conn : Connection
Return values
string

The name of the database.

Search results