java.lang.Object
simpleorm.sessionjdbc.SDriver
com.inductiveautomation.ignition.gateway.localdb.sqlite.SQLiteDriver

public class SQLiteDriver extends SDriver
Created by colby.clegg on 11/12/2015.
  • Constructor Details

    • SQLiteDriver

      public SQLiteDriver()
  • Method Details

    • columnTypeSql

      public static String columnTypeSql(SFieldScalar field)
    • driverName

      protected String driverName()
      Description copied from class: SDriver
      The driver name to be compared to getMetaData().getDriverName()
      Overrides:
      driverName in class SDriver
    • 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 class SDriver
    • generateKeySequence

      protected long generateKeySequence(SRecordMeta<?> rec, SFieldScalar keyFld)
      Overrides:
      generateKeySequence in class SDriver
    • supportsKeySequences

      public boolean supportsKeySequences()
      Overrides:
      supportsKeySequences in class SDriver