net.liftweb.db

DB2Driver

object DB2Driver extends DriverType

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

Type Members

  1. type TypeMapFunc = PartialFunction[Int, Int]

    Definition Classes
    DriverType

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.

    Definition Classes
    DriverType
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def binaryColumnType: String

    Definition Classes
    DB2DriverDriverType
  9. def booleanColumnType: String

    Definition Classes
    DB2DriverDriverType
  10. def brokenLimit_?: Boolean

    Whether this database supports LIMIT clause in SELECTs.

    Whether this database supports LIMIT clause in SELECTs.

    Definition Classes
    DB2DriverDriverType
  11. def clobColumnType: String

    Definition Classes
    DB2DriverDriverType
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. 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.

    Definition Classes
    DriverType
  14. def createTablePostpend: String

    Definition Classes
    DriverType
  15. 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
    Definition Classes
    DriverType
  16. def dateColumnType: String

    Definition Classes
    DB2DriverDriverType
  17. def dateTimeColumnType: String

    Definition Classes
    DB2DriverDriverType
  18. def defaultSchemaName: Full[Null]

    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.

    Definition Classes
    DB2DriverDriverType
  19. def doubleColumnType: String

    Definition Classes
    DB2DriverDriverType
  20. def enumColumnType: String

    Definition Classes
    DB2DriverDriverType
  21. def enumListColumnType: String

    Definition Classes
    DB2DriverDriverType
  22. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  27. def integerColumnType: String

    Definition Classes
    DB2DriverDriverType
  28. def integerIndexColumnType: String

    Definition Classes
    DB2DriverDriverType
  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. def longColumnType: String

    Definition Classes
    DB2DriverDriverType
  31. def longForeignKeyColumnType: String

    Definition Classes
    DB2DriverDriverType
  32. def longIndexColumnType: String

    Definition Classes
    DB2DriverDriverType
  33. def maxSelectLimit: String

    Maximum value of the LIMIT clause in SELECT.

    Maximum value of the LIMIT clause in SELECT.

    Definition Classes
    DriverType
  34. val name: String

    Definition Classes
    DriverType
  35. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  38. 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

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

    Attributes
    protected
    Definition Classes
    DriverType
  40. def pkDefinedByIndexColumn_?: Boolean

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

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

    Definition Classes
    DB2DriverDriverType
  41. 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.

    Definition Classes
    DriverType
  42. 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.

    Definition Classes
    DriverType
  43. 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.

    Definition Classes
    DriverType
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  45. def timeColumnType: String

    Definition Classes
    DB2DriverDriverType
  46. def toString(): String

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

    Definition Classes
    DriverType
  48. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DriverType

Inherited from AnyRef

Inherited from Any

Ungrouped