net.liftweb.db

DriverType

abstract class DriverType extends AnyRef

JDBC Driver Abstraction base class. New driver types should extend this base class. New drivers should "register" in the companion object DriverType.calcDriver method.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DriverType
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DriverType(name: String)

Type Members

  1. type TypeMapFunc = PartialFunction[Int, Int]

Abstract Value Members

  1. abstract def binaryColumnType: String

  2. abstract def booleanColumnType: String

  3. abstract def clobColumnType: String

  4. abstract def dateColumnType: String

  5. abstract def dateTimeColumnType: String

  6. abstract def doubleColumnType: String

  7. abstract def enumColumnType: String

  8. abstract def enumListColumnType: String

  9. abstract def integerColumnType: String

  10. abstract def integerIndexColumnType: String

  11. abstract def longColumnType: String

  12. abstract def longForeignKeyColumnType: String

  13. abstract def longIndexColumnType: String

  14. abstract def timeColumnType: String

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def alterAddColumn: String

    This defines the syntax for adding a column in an alter.

    This defines the syntax for adding a column in an alter. This is used because some DBs (Oracle, for one) use slightly different syntax.

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def brokenLimit_?: Boolean

    Whether this database supports LIMIT clause in SELECTs.

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def columnTypeMap: TypeMapFunc

    Allow the driver to do specific remapping of column types for cases where not all types are supported.

    Allow the driver to do specific remapping of column types for cases where not all types are supported. Classes that want to do custom type mapping for columns should override the customColumnTypeMap method.

  11. def createTablePostpend: String

  12. def customColumnTypeMap: TypeMapFunc

    Allows the Vendor-specific Driver to do custom type mapping for a particular column type.

    Allows the Vendor-specific Driver to do custom type mapping for a particular column type.

    Attributes
    protected
  13. def defaultSchemaName: Box[String]

    Name of the default db schema.

    Name of the default db schema. If not set, then the schema is assumed to equal the db user name.

  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. def maxSelectLimit: String

    Maximum value of the LIMIT clause in SELECT.

  21. val name: String

  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. def performInsert[T](conn: SuperConnection, query: String, setter: (PreparedStatement) ⇒ Unit, tableName: String, genKeyNames: List[String])(handler: (Either[ResultSet, Int]) ⇒ T): T

    Performs an insert and optionally returns the ResultSet of the generated keys that were inserted.

    Performs an insert and optionally returns the ResultSet of the generated keys that were inserted. If no keys are specified, return the number of rows updated.

    conn

    A connection that the method can optionally use if it needs to execute ancillary statements

    query

    The prepared query string to use for the insert

    setter

    A function that will set the parameters on the prepared statement

  26. def performInsertWithGenKeys[T](conn: SuperConnection, query: String, setter: (PreparedStatement) ⇒ Unit, tableName: String, genKeyNames: List[String], handler: (Either[ResultSet, Int]) ⇒ T): T

    Attributes
    protected
  27. def pkDefinedByIndexColumn_?: Boolean

    Whether the primary key has been defined by the index column.

  28. def primaryKeySetup(tableName: String, columnName: String): List[String]

    This method can be overriden by DriverType impls to allow for custom setup of Primary Key Columns (creating sequeneces or special indices, for example).

    This method can be overriden by DriverType impls to allow for custom setup of Primary Key Columns (creating sequeneces or special indices, for example). The List of commands will be executed in order.

  29. def schemifierMustAutoCommit_?: Boolean

    This indicates that Schemifier needs to run with a non-transacted connection.

    This indicates that Schemifier needs to run with a non-transacted connection. Certain databases require that gathering information on tables (which Schemifier uses for updates) run outside of a transaction.

  30. def supportsForeignKeys_?: Boolean

    This specifies that the driver supports FKs in tables.

    This specifies that the driver supports FKs in tables. Note that to enable FK generation in Schemifier, you also need to set MapperRules.createForeignKeys_? to true before running it.

  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. def varcharColumnType(len: Int): String

  34. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped