Package org.eclipse.net4j.db.derby
Class EmbeddedDerbyAdapter
java.lang.Object
org.eclipse.net4j.spi.db.DBAdapter
org.eclipse.net4j.db.derby.DerbyAdapter
org.eclipse.net4j.db.derby.EmbeddedDerbyAdapter
- All Implemented Interfaces:
IDBAdapter,IDBAdapterID
A
Derby adapter for embedded databases.- Since:
- 2.0
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.net4j.spi.db.DBAdapter
DBAdapter.FieldInfo, DBAdapter.IndexInfoNested classes/interfaces inherited from interface org.eclipse.net4j.db.IDBAdapter
IDBAdapter.Registry -
Field Summary
FieldsFields inherited from class org.eclipse.net4j.db.derby.DerbyAdapter
VERSIONFields inherited from interface org.eclipse.net4j.db.IDBAdapter
REGISTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]Returns the JDBC database product names recognized by this adapter.Returns an optional regular expression that constrains JDBC URL matching.Methods inherited from class org.eclipse.net4j.db.derby.DerbyAdapter
getDefaultSchemaName, getNullableConstraint, getReservedWords, getTypeName, isColumnNotFoundException, isDuplicateKeyException, isTableNotFoundException, isValidFirstChar, sqlCharIndexFunctionMethods inherited from class org.eclipse.net4j.spi.db.DBAdapter
adaptType, addIndex, addIndexField, alterTable, appendFieldDefs, appendFieldNames, bindParameter, bindParameterBigDecimal, bindParameterBoolean, bindParameterByte, bindParameterBytes, bindParameterDouble, bindParameterFloat, bindParameterInt, bindParameterLong, bindParameterNull, bindParameterObject, bindParameterShort, bindParameterString, convertString, convertString, convertString, convertToSQL, createConnectionProvider, createConstraints, createField, createField, createFieldDefinition, createFieldDefinitions, createIndex, createIndex, createIndex, createIndexFields, createJDBCDataSource, createPrimaryKey, createSchema, createTable, createTable, createTables, doCreateTable, dropField, dropField, dropIndex, dropIndex, dropPrimaryKey, dropTable, dropTable, dropTables, equals, escapeQuote, forEachTable, format, format, generateReservedWords, getDefaultDBLength, getDropTableSQL, getFieldLength, getIdentifierQuote, getIndexInfos, getJDBCDriver, getJDBCTypeForNull, getMaxFieldNameLength, getMaxTableNameLength, getName, getSQL92ReservedWords, getVersion, hashCode, isCaseSensitive, isDuplicateKeyTransactionAbort, isPrimaryKeyShadow, isReservedWord, isTypeIndexable, modifyConnection, openSchemaTransaction, quoteIdentifier, readFields, readIndices, readIndices, readSchema, readSchema, readTables, sqlCharIndex, sqlConcat, sqlModifyField, sqlModifyField, sqlRenameField, sqlSubstring, sqlSubstring, sqlSubstringFunction, toString, updateSchema, useJavaTypeForUnknownParameterType, validateTableMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.net4j.db.IDBAdapter
getDatabaseDriverNamePattern, getDatabaseProductNamePattern, quoteTableName, validateSQLLiteral
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
EmbeddedDerbyAdapter
public EmbeddedDerbyAdapter() -
EmbeddedDerbyAdapter
- Since:
- 4.3
-
-
Method Details
-
getDatabaseProductNames
Description copied from interface:IDBAdapterReturns the JDBC database product names recognized by this adapter. Product names are trimmed and compared case-insensitively. The default recognizes the adapter's declared name. Implementations may return additional aliases.- Returns:
- the exact JDBC product names recognized by this adapter
-
getDatabaseURLPattern
Description copied from interface:IDBAdapterReturns an optional regular expression that constrains JDBC URL matching. The complete URL must match case-insensitively; a missing URL does not match.- Returns:
- a JDBC URL regular expression, or
nullif no URL constraint applies
-