org.eclipse.net4j.db.hsqldb
Class HSQLDBAdapter

java.lang.Object
  extended by org.eclipse.net4j.spi.db.DBAdapter
      extended by org.eclipse.net4j.db.hsqldb.HSQLDBAdapter
All Implemented Interfaces:
IDBAdapter

public class HSQLDBAdapter
extends DBAdapter

A DB adapter for HyperSQL databases.

Since:
2.0

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.net4j.spi.db.DBAdapter
DBAdapter.FieldInfo
 
Field Summary
static String VERSION
           
 
Fields inherited from interface org.eclipse.net4j.db.IDBAdapter
REGISTRY
 
Constructor Summary
HSQLDBAdapter()
           
 
Method Summary
 String[] getReservedWords()
           
protected  String getTypeName(IDBField field)
           
 boolean isColumnNotFoundException(SQLException ex)
           
 boolean isTableNotFoundException(SQLException ex)
           
 
Methods inherited from class org.eclipse.net4j.spi.db.DBAdapter
adaptType, addIndex, addIndexField, alterTable, appendFieldDefs, appendFieldNames, createConstraints, createFieldDefinition, createFieldDefinitions, createIndex, createIndex, createIndex, createIndexFields, createJDBCDataSource, createPrimaryKey, createTable, createTable, createTables, doCreateTable, dropIndex, dropIndex, dropPrimaryKey, dropTable, dropTable, dropTables, format, format, getDefaultDBLength, getDropTableSQL, getFieldLength, getJDBCDriver, getMaxFieldNameLength, getMaxTableNameLength, getName, getSQL92ReservedWords, getVersion, isDuplicateKeyException, isPrimaryKeyShadow, isReservedWord, isTypeIndexable, isValidFirstChar, readFields, readIndices, readIndices, readSchema, readSchema, sqlModifyField, sqlModifyField, sqlRenameField, toString, updateSchema, validateTable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

VERSION

public static final String VERSION
See Also:
Constant Field Values
Constructor Detail

HSQLDBAdapter

public HSQLDBAdapter()
Method Detail

getTypeName

protected String getTypeName(IDBField field)
Overrides:
getTypeName in class DBAdapter

getReservedWords

public String[] getReservedWords()

isTableNotFoundException

public boolean isTableNotFoundException(SQLException ex)
Specified by:
isTableNotFoundException in interface IDBAdapter
Overrides:
isTableNotFoundException in class DBAdapter

isColumnNotFoundException

public boolean isColumnNotFoundException(SQLException ex)
Specified by:
isColumnNotFoundException in interface IDBAdapter
Overrides:
isColumnNotFoundException in class DBAdapter


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.