Package org.eclipse.net4j.db.hsqldb
Class HSQLDBAdapter
- java.lang.Object
-
- org.eclipse.net4j.spi.db.DBAdapter
-
- org.eclipse.net4j.db.hsqldb.HSQLDBAdapter
-
- All Implemented Interfaces:
IDBAdapter
public class HSQLDBAdapter extends DBAdapter
ADB adapterfor HyperSQL databases.- Since:
- 2.0
- Author:
- Eike Stepper
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.net4j.spi.db.DBAdapter
DBAdapter.FieldInfo
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringVERSION-
Fields inherited from interface org.eclipse.net4j.db.IDBAdapter
REGISTRY
-
-
Constructor Summary
Constructors Modifier Constructor Description HSQLDBAdapter()protectedHSQLDBAdapter(java.lang.String name, java.lang.String version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]getReservedWords()protected java.lang.StringgetTypeName(IDBField field)booleanisColumnNotFoundException(java.sql.SQLException ex)booleanisTableNotFoundException(java.sql.SQLException ex)-
Methods inherited from class org.eclipse.net4j.spi.db.DBAdapter
adaptType, addIndex, addIndexField, alterTable, appendFieldDefs, appendFieldNames, convertString, convertString, convertString, convertToSQL, createConnectionProvider, createConstraints, createField, createFieldDefinition, createFieldDefinitions, createIndex, createIndex, createIndex, createIndexFields, createJDBCDataSource, createPrimaryKey, createTable, createTable, createTables, doCreateTable, dropField, dropIndex, dropIndex, dropPrimaryKey, dropTable, dropTable, dropTables, format, format, generateReservedWords, getDefaultDBLength, getDropTableSQL, getFieldLength, getJDBCDriver, getMaxFieldNameLength, getMaxTableNameLength, getName, getSQL92ReservedWords, getVersion, isDuplicateKeyException, isPrimaryKeyShadow, isReservedWord, isTypeIndexable, isValidFirstChar, modifyConnection, openSchemaTransaction, readFields, readIndices, readIndices, readSchema, readSchema, readTables, sqlModifyField, sqlModifyField, sqlRenameField, toString, updateSchema, validateTable
-
-
-
-
Field Detail
-
VERSION
public static final java.lang.String VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTypeName
protected java.lang.String getTypeName(IDBField field)
- Overrides:
getTypeNamein classDBAdapter
-
getReservedWords
public java.lang.String[] getReservedWords()
-
isTableNotFoundException
public boolean isTableNotFoundException(java.sql.SQLException ex)
- Specified by:
isTableNotFoundExceptionin interfaceIDBAdapter- Overrides:
isTableNotFoundExceptionin classDBAdapter
-
isColumnNotFoundException
public boolean isColumnNotFoundException(java.sql.SQLException ex)
- Specified by:
isColumnNotFoundExceptionin interfaceIDBAdapter- Overrides:
isColumnNotFoundExceptionin classDBAdapter
-
-