public abstract class DerbyAdapter extends DBAdapter
DB adapter for Derby databases.DBAdapter.FieldInfo| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
VERSION |
REGISTRY| Constructor and Description |
|---|
DerbyAdapter(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getReservedWords() |
protected java.lang.String |
getTypeName(IDBField field) |
boolean |
isColumnNotFoundException(java.sql.SQLException ex) |
boolean |
isDuplicateKeyException(java.sql.SQLException ex)
Check if an exception indicates a constraint violation (duplicate key)
|
boolean |
isTableNotFoundException(java.sql.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, createField, createFieldDefinition, createFieldDefinitions, createIndex, createIndex, createIndex, createIndexFields, createJDBCDataSource, createPrimaryKey, createTable, createTable, createTables, doCreateTable, dropField, 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, validateTablepublic static final java.lang.String VERSION
protected java.lang.String getTypeName(IDBField field)
getTypeName in class DBAdapterpublic java.lang.String[] getReservedWords()
public boolean isValidFirstChar(char ch)
IDBAdapterisValidFirstChar in interface IDBAdapterisValidFirstChar in class DBAdapterpublic boolean isDuplicateKeyException(java.sql.SQLException ex)
IDBAdapterisDuplicateKeyException in interface IDBAdapterisDuplicateKeyException in class DBAdapterpublic boolean isTableNotFoundException(java.sql.SQLException ex)
isTableNotFoundException in interface IDBAdapterisTableNotFoundException in class DBAdapterpublic boolean isColumnNotFoundException(java.sql.SQLException ex)
isColumnNotFoundException in interface IDBAdapterisColumnNotFoundException in class DBAdapterCopyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html