Class JDatabaseDriverOracle
Oracle database driver
- JDatabase
- JDatabaseDriver implements JDatabaseInterface
- JDatabaseDriverPdo
- JDatabaseDriverOracle
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE
Since: 12.1
Link: https://secure.php.net/pdo
Located at joomla/database/driver/oracle.php
Methods summary
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
mixed
|
#
getCollation( )
Method to get the database collation in use by sampling a text field of a table in the database. |
public
string
|
#
getConnectionCollation( )
Method to get the database connection collation, as reported by the driver. If the connector doesn't support reporting this value please return an empty string. |
public
string
|
|
public
string
|
#
getDateFormat( )
Returns the current date format This method should be useful in the case that somebody actually wants to use a different date format and needs to check what the current one is to see if it needs to be changed. |
public
array
|
|
public
array
|
#
getTableColumns( string $table, boolean $typeOnly = true )
Retrieves field information about a given table. |
public
array
|
|
public
array
|
#
getTableList( string $databaseName = null, boolean $includeDatabaseName = false )
Method to get an array of all tables in the database (schema). |
public
string
|
|
public
boolean
|
|
public
boolean
|
#
setDateFormat( string $dateFormat = 'DD-MON-RR' )
Sets the Oracle Date Format for the session Default date format for Oracle is = DD-MON-RR The default date format for this driver is: 'RRRR-MM-DD HH24:MI:SS' since it is the format that matches the MySQL one used within most Joomla tables. |
public
boolean
|
|
public
|
|
public
|
#
renameTable( string $oldTable, string $newTable, string $backup = null, string $prefix = null )
Renames a table in the database. |
public
|
|
public static
boolean
|
|
public
string
|
#
replacePrefix( string $query, string $prefix = '#__' )
This function replaces a string identifier $prefix with the string held is the tablePrefix class variable. |
public
|
|
public
|
|
public
|
|
public
string[]
|
#
getAlterTableCharacterSet( string $tableName )
Get the query strings to alter the character set and collation of a table. |
protected
string
|
#
getCreateDatabaseQuery(
Return the query string to create new Database. Each database driver, other than MySQL, need to override this member to return correct string. |
Methods inherited from JDatabaseDriverPdo
__sleep()
,
__wakeup()
,
connected()
,
escape()
,
execute()
,
fetchArray()
,
fetchAssoc()
,
fetchObject()
,
freeResult()
,
getAffectedRows()
,
getErrorMessage()
,
getErrorNumber()
,
getNumRows()
,
getOption()
,
insertid()
,
loadNextAssoc()
,
loadNextObject()
,
loadNextRow()
,
setOption()
,
setQuery()
Methods inherited from JDatabaseDriver
__call()
,
addDisconnectHandler()
,
alterDbCharacterSet()
,
alterTableCharacterSet()
,
convertUtf8mb4QueryToUtf8()
,
createDatabase()
,
getAlterDbCharacterSet()
,
getCallStacks()
,
getConnection()
,
getConnectors()
,
getCount()
,
getDatabase()
,
getExporter()
,
getImporter()
,
getInstance()
,
getIterator()
,
getLog()
,
getMinimum()
,
getName()
,
getNullDate()
,
getPrefix()
,
getQuery()
,
getServerType()
,
getTimings()
,
getUTFSupport()
,
hasUTF8mb4Support()
,
hasUTFSupport()
,
insertObject()
,
isMinimumVersion()
,
loadAssoc()
,
loadAssocList()
,
loadColumn()
,
loadObject()
,
loadObjectList()
,
loadResult()
,
loadRow()
,
loadRowList()
,
quote()
,
quoteName()
,
quoteNameStr()
,
setDebug()
,
splitSql()
,
truncateTable()
,
updateObject()
Methods inherited from JDatabase
getErrorMsg()
,
getErrorNum()
,
query()
,
stderr()
,
test()
Magic methods summary
Magic methods inherited from JDatabaseDriver
Properties summary
public
string
|
$name |
#
The name of the database driver. |
public
string
|
$serverType |
#
The type of the database server family supported by this driver. |
protected
string
|
$nameQuote |
#
The character(s) used to quote SQL statement names such as table names or field names, etc. The child classes should define this as necessary. If a single character string the same character is used for both sides of the quoted name, else the first character will be used for the opening quote and the second for the closing quote. |
protected
string
|
$dateformat |
#
Returns the current dateformat |
protected
string
|
$charset |
#
Returns the current character set |
Properties inherited from JDatabaseDriverPdo
$connection
,
$executed
,
$nullDate
,
$prepared
Properties inherited from JDatabaseDriver
$callStacks
,
$count
,
$cursor
,
$dbMinimum
,
$debug
,
$disconnectHandlers
,
$errorMsg
,
$errorNum
,
$instances
,
$limit
,
$log
,
$offset
,
$options
,
$sql
,
$tablePrefix
,
$timings
,
$transactionDepth
,
$utf
,
$utf8mb4