de.fuberlin.wiwiss.d2rq.sql.vendor
Class HSQLDB

java.lang.Object
  extended by de.fuberlin.wiwiss.d2rq.sql.vendor.SQL92
      extended by de.fuberlin.wiwiss.d2rq.sql.vendor.HSQLDB
All Implemented Interfaces:
Vendor

public class HSQLDB
extends SQL92


Nested Class Summary
static class HSQLDB.HSQLDBCompatibilityDoubleDataType
           
 
Field Summary
 
Fields inherited from interface de.fuberlin.wiwiss.d2rq.sql.vendor.Vendor
HSQLDB, InterbaseOrFirebird, MSAccess, MySQL, Oracle, PostgreSQL, SQL92, SQLServer
 
Constructor Summary
HSQLDB()
           
 
Method Summary
 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.
 
Methods inherited from class de.fuberlin.wiwiss.d2rq.sql.vendor.SQL92
booleanExpressionToSimpleExpression, getConcatenationExpression, getDefaultConnectionProperties, getRelationNameAliasExpression, getRowNumLimitAsExpression, getRowNumLimitAsQueryAppendage, getRowNumLimitAsSelectModifier, isIgnoredTable, quoteAttribute, quoteBinaryLiteral, quoteDateLiteral, quoteIdentifier, quoteRelationName, quoteStringLiteral, quoteTimeLiteral, quoteTimestampLiteral
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HSQLDB

public HSQLDB()
Method Detail

getDataType

public DataType getDataType(int jdbcType,
                            String name,
                            int size)
Description copied from interface: Vendor
Returns a 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.

Specified by:
getDataType in interface Vendor
Overrides:
getDataType in class SQL92
Parameters:
jdbcType - A java.sql.Types constant
name - The type name, as reported by java.sql metadata methods, normalized to uppercase
size - Character size of the type, or 0 if not applicable
Returns:
A compatible D2RQ DataType instance, or null if the vendor code is broken

initializeConnection

public void initializeConnection(Connection connection)
                          throws SQLException
Description copied from interface: Vendor
Vendor-specific initialization for a database connection.

Specified by:
initializeConnection in interface Vendor
Overrides:
initializeConnection in class SQL92
Throws:
SQLException