Package simpleorm.drivers
Class SDriverDerby
java.lang.Object
simpleorm.sessionjdbc.SDriver
simpleorm.drivers.SDriverDerby
Contains Derby/Cloudscape 10.0 implementation
$Revision: 1.0 $ $Date: Apr 12 2004 14:33:46 $
-
Nested Class Summary
Nested classes/interfaces inherited from class simpleorm.sessionjdbc.SDriver
SDriver.OffsetStrategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addNull
(StringBuffer sql, SFieldScalar fld) DB2 does not allow just NULL.protected String
The driver name to be compared to getMetaData().getDriverName()int
The maximum size for table names and foreign key constraint names.boolean
Derby supports different locking levels, but no FOR UPDATE with ORDER BY.Methods inherited from class simpleorm.sessionjdbc.SDriver
alterTableAddColumnSQL, alterTableDropColumnSQL, appendColumnName, appendQuotedIdentifier, appendQuotedIdentifier, appendTableName, clauseSeparator, columnTypeSQL, createSequenceDDL, createTableSQL, deleteSQL, dropSequenceDDL, dropTableNoError, foreignKeysSQL, forUpdateSQL, fromSQL, generateKeySelectMax, generateKeySequence, getLogger, getOffsetStrategy, getSession, indexKeySQL, insertSQL, joinSQL, limitSQL, makeForeignKeyIndexSQL, mapForeignKeys, postColumnSQL, postFromSQL, postTablePostParenSQL, postTablePreParenSQL, primaryKeySQL, queryExecuteFactory, registerDriver, selectSQL, selectSQL, supportsKeySequences, updateSQL, whereSQL, wholeColumnSQL
-
Constructor Details
-
SDriverDerby
public SDriverDerby()
-
-
Method Details
-
driverName
Description copied from class:SDriver
The driver name to be compared to getMetaData().getDriverName()- Overrides:
driverName
in classSDriver
-
supportsLocking
public boolean supportsLocking()Derby supports different locking levels, but no FOR UPDATE with ORDER BY. So supportsLocking returns false for now ...- Overrides:
supportsLocking
in classSDriver
-
maxIdentNameLength
public int maxIdentNameLength()Description copied from class:SDriver
The maximum size for table names and foreign key constraint names.- Overrides:
maxIdentNameLength
in classSDriver
-
addNull
DB2 does not allow just NULL.
-