public class SQLiteDriver extends SDriver
Modifier and Type | Class and Description |
---|---|
static class |
SQLiteDriver.SequenceTable
Created by colby.clegg on 11/13/2015.
|
SDriver.OffsetStrategy
Constructor and Description |
---|
SQLiteDriver() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
columnTypeSQL(SFieldScalar field) |
protected java.lang.String |
driverName()
The driver name to be compared to getMetaData().getDriverName()
|
protected long |
generateKeySequence(SRecordMeta<?> rec,
SFieldScalar keyFld) |
boolean |
supportsKeySequences() |
boolean |
supportsLocking()
Notes:
- I'm not sure if sqlite "supports locking" exactly, but this property is used in forUpdateSQL to add the "FOR UPDATE" to the end, which isn't supported.
|
addNull, alterTableAddColumnSQL, alterTableDropColumnSQL, appendColumnName, appendQuotedIdentifier, appendQuotedIdentifier, appendTableName, clauseSeparator, columnTypeSQL, createSequenceDDL, createTableSQL, deleteSQL, dropSequenceDDL, dropTableNoError, foreignKeysSQL, forUpdateSQL, fromSQL, generateKeySelectMax, getLogger, getOffsetStrategy, getSession, indexKeySQL, insertSQL, joinSQL, limitSQL, makeForeignKeyIndexSQL, mapForeignKeys, maxIdentNameLength, postColumnSQL, postFromSQL, postTablePostParenSQL, postTablePreParenSQL, primaryKeySQL, queryExecuteFactory, registerDriver, selectSQL, selectSQL, updateSQL, whereSQL, wholeColumnSQL
protected java.lang.String driverName()
SDriver
driverName
in class SDriver
public boolean supportsLocking()
supportsLocking
in class SDriver
protected long generateKeySequence(SRecordMeta<?> rec, SFieldScalar keyFld)
generateKeySequence
in class SDriver
public boolean supportsKeySequences()
supportsKeySequences
in class SDriver
public static java.lang.String columnTypeSQL(SFieldScalar field)