| Modifier and Type | Class and Description |
|---|---|
static class |
Oracle.OracleCompatibilityTimeZoneDataType |
static class |
Oracle.OracleCompatibilityTimeZoneLocalDataType
getString() doesn't really work for TIMESTAMP WITH LOCAL TIME ZONE,
we have to use getTimestamp() and format the resulting Timestamp object
according to the session's time zone.
|
HSQLDB, InterbaseOrFirebird, MSAccess, MySQL, Oracle, PostgreSQL, SQL92, SQLServer| Constructor and Description |
|---|
Oracle() |
| Modifier and Type | Method and Description |
|---|---|
Expression |
booleanExpressionToSimpleExpression(Expression expression)
Oracle doesn't actually support booolean expressions, except in
a few places.
|
DataType |
getDataType(int jdbcType,
String name,
int size)
Returns a
DataType corresponding to a JDBC type. |
Expression |
getRowNumLimitAsExpression(int limit)
Returns an expression for limiting the number of returned rows
for engines that support this (
ROWNUM <= n) |
String |
getRowNumLimitAsQueryAppendage(int limit)
Technically speaking, SQL 92 supports NO way of limiting
result sets (ROW_NUMBER appeared in SQL 2003).
|
void |
initializeConnection(Connection connection)
Vendor-specific initialization for a database connection.
|
boolean |
isIgnoredTable(String schema,
String table)
TODO Use the Filter interface for this
|
String |
quoteBinaryLiteral(String hexString) |
afterCancel, afterClose, afterQuery, beforeCancel, beforeClose, beforeQuery, getConcatenationExpression, getDefaultConnectionProperties, getRelationNameAliasExpression, getRowNumLimitAsSelectModifier, quoteAttribute, quoteDateLiteral, quoteIdentifier, quoteRelationName, quoteStringLiteral, quoteTimeLiteral, quoteTimestampLiteralpublic Expression getRowNumLimitAsExpression(int limit)
VendorROWNUM <= n)getRowNumLimitAsExpression in interface VendorgetRowNumLimitAsExpression in class SQL92limit - A maximum number of rows, or Database.NO_LIMITExpression.TRUE
if not supported by the enginepublic String getRowNumLimitAsQueryAppendage(int limit)
SQL92getRowNumLimitAsQueryAppendage in interface VendorgetRowNumLimitAsQueryAppendage in class SQL92limit - A maximum number of rows, or Database.NO_LIMITpublic String quoteBinaryLiteral(String hexString)
quoteBinaryLiteral in interface VendorquoteBinaryLiteral in class SQL92public DataType getDataType(int jdbcType, String name, int size)
VendorDataType corresponding to a JDBC type. This may be
an unsupported datatype; in this case, its DataType.isUnsupported()
method will return true. null will be returned if the vendor
code doesn't handle this datatype at all; that should generally be
considered a bug.getDataType in interface VendorgetDataType in class SQL92jdbcType - A java.sql.Types constantname - The type name, as reported by java.sql metadata methods, normalized to uppercasesize - Character size of the type, or 0 if not applicablenull if the vendor code is brokenpublic void initializeConnection(Connection connection) throws SQLException
VendorinitializeConnection in interface VendorinitializeConnection in class SQL92SQLExceptionpublic Expression booleanExpressionToSimpleExpression(Expression expression)
booleanExpressionToSimpleExpression in interface VendorbooleanExpressionToSimpleExpression in class SQL92expression - A boolean expressionpublic boolean isIgnoredTable(String schema, String table)
VendorisIgnoredTable in interface VendorisIgnoredTable in class SQL92schema - A schema name, or null for the connection's default schematable - A table nametrue if this is a system table that doesn't contain user/application data