Modifier and Type | Class and Description |
---|---|
static class |
HSQLDB.HSQLDBCompatibilityDoubleDataType |
HSQLDB, InterbaseOrFirebird, MSAccess, MySQL, Oracle, PostgreSQL, SQL92, SQLServer
Constructor and Description |
---|
HSQLDB() |
Modifier and Type | Method and Description |
---|---|
DataType |
getDataType(int jdbcType,
String name,
int size)
Returns a
DataType corresponding to a JDBC type. |
void |
initializeConnection(Connection connection)
Vendor-specific initialization for a database connection.
|
afterCancel, afterClose, afterQuery, beforeCancel, beforeClose, beforeQuery, booleanExpressionToSimpleExpression, getConcatenationExpression, getDefaultConnectionProperties, getRelationNameAliasExpression, getRowNumLimitAsExpression, getRowNumLimitAsQueryAppendage, getRowNumLimitAsSelectModifier, isIgnoredTable, quoteAttribute, quoteBinaryLiteral, quoteDateLiteral, quoteIdentifier, quoteRelationName, quoteStringLiteral, quoteTimeLiteral, quoteTimestampLiteral
public DataType getDataType(int jdbcType, String name, int size)
Vendor
DataType
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 Vendor
getDataType
in class SQL92
jdbcType
- 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
Vendor
initializeConnection
in interface Vendor
initializeConnection
in class SQL92
SQLException