Class SQLiteDriver
java.lang.Object
simpleorm.sessionjdbc.SDriver
com.inductiveautomation.ignition.gateway.localdb.sqlite.SQLiteDriver
Created by colby.clegg on 11/12/2015.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Created by colby.clegg on 11/13/2015.Nested classes/interfaces inherited from class simpleorm.sessionjdbc.SDriver
SDriver.OffsetStrategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
columnTypeSql
(SFieldScalar field) protected String
The driver name to be compared to getMetaData().getDriverName()protected long
generateKeySequence
(SRecordMeta<?> rec, SFieldScalar keyFld) boolean
boolean
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.Methods inherited from class simpleorm.sessionjdbc.SDriver
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
-
Constructor Details
-
SQLiteDriver
public SQLiteDriver()
-
-
Method Details
-
columnTypeSql
-
driverName
Description copied from class:SDriver
The driver name to be compared to getMetaData().getDriverName()- Overrides:
driverName
in classSDriver
-
supportsLocking
public 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.- Overrides:
supportsLocking
in classSDriver
-
generateKeySequence
- Overrides:
generateKeySequence
in classSDriver
-
supportsKeySequences
public boolean supportsKeySequences()- Overrides:
supportsKeySequences
in classSDriver
-