public abstract class DerbyAdapter extends DBAdapter
DB adapter
for Derby databases.DBAdapter.FieldInfo
Modifier and Type | Field and Description |
---|---|
static String |
VERSION |
REGISTRY
Constructor and Description |
---|
DerbyAdapter(String name) |
Modifier and Type | Method and Description |
---|---|
String[] |
getReservedWords() |
protected String |
getTypeName(IDBField field) |
boolean |
isColumnNotFoundException(SQLException ex) |
boolean |
isDuplicateKeyException(SQLException ex)
Check if an exception indicates a constraint violation (duplicate key)
|
boolean |
isTableNotFoundException(SQLException ex) |
boolean |
isValidFirstChar(char ch)
Check if a character is valid as first character.
|
adaptType, addIndex, addIndexField, alterTable, appendFieldDefs, appendFieldNames, convertString, convertString, convertString, createConnectionProvider, 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, isPrimaryKeyShadow, isReservedWord, isTypeIndexable, modifyConnection, readFields, readIndices, readIndices, readSchema, readSchema, readTables, sqlModifyField, sqlModifyField, sqlRenameField, toString, updateSchema, validateTable
public static final String VERSION
public DerbyAdapter(String name)
protected String getTypeName(IDBField field)
getTypeName
in class DBAdapter
public String[] getReservedWords()
public boolean isValidFirstChar(char ch)
IDBAdapter
isValidFirstChar
in interface IDBAdapter
isValidFirstChar
in class DBAdapter
public boolean isDuplicateKeyException(SQLException ex)
IDBAdapter
isDuplicateKeyException
in interface IDBAdapter
isDuplicateKeyException
in class DBAdapter
public boolean isTableNotFoundException(SQLException ex)
isTableNotFoundException
in interface IDBAdapter
isTableNotFoundException
in class DBAdapter
public boolean isColumnNotFoundException(SQLException ex)
isColumnNotFoundException
in interface IDBAdapter
isColumnNotFoundException
in class DBAdapter
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.