net.liftweb.mapper.MaxDbDriver

object MaxDbDriver

object MaxDbDriver

 extends DriverType




Source: Driver.scala(405)

 Constructors

def this

 Fields

alterAddColumn.. def alterAddColumn
This defines the syntax for adding a column in an alter [details]
This is used because some DBs (Oracle, for one) use slightly different syntax.
String DriverType
binaryColumnType.. def binaryColumnType String
booleanColumnType.. def booleanColumnType String
brokenLimit_?.. def brokenLimit_?
Whether this database supports LIMIT clause in SELECTs
Boolean DriverType
clobColumnType.. def clobColumnType String
columnTypeMap.. def columnTypeMap
Allow the driver to do specific remapping of column types for cases where not all types are supported [details]
Classes that want to do custom type mapping for columns should override the customColumnTypeMap method.
PartialFunction DriverType
createTablePostpend.. def createTablePostpend String DriverType
customColumnTypeMap.. protected def customColumnTypeMap
Allows the Vendor-specific Driver to do custom type mapping for a particular column type
PartialFunction DriverType
dateColumnType.. def dateColumnType String
dateTimeColumnType.. def dateTimeColumnType String
defaultSchemaName.. def defaultSchemaName
Name of the default db schema [details]
If not set, then the schema is assumed to equal the db user name.
Box[String] DriverType
doubleColumnType.. def doubleColumnType String
enumColumnType.. def enumColumnType String
enumListColumnType.. def enumListColumnType String
integerColumnType.. def integerColumnType String
integerIndexColumnType.. def integerIndexColumnType String
longColumnType.. def longColumnType String
longForeignKeyColumnType.. def longForeignKeyColumnType String
longIndexColumnType.. def longIndexColumnType String
maxSelectLimit.. def maxSelectLimit
Maximum value of the LIMIT clause in SELECT
String DriverType
name.. val name String DriverType
pkDefinedByIndexColumn_?.. def pkDefinedByIndexColumn_?
Whether the primary key has been defined by the index column
Boolean DriverType
supportsForeignKeys_?.. def supportsForeignKeys_? Boolean DriverType
timeColumnType.. def timeColumnType String

 Methods

!=.. final def !=(arg0 : Any) Boolean Any
!=.. final def !=(arg0 : Object) Boolean AnyRef
==.. final def ==(arg0 : Object) Boolean AnyRef
==.. final def ==(arg0 : Any) Boolean Any
asInstanceOf.. final def asInstanceOf[T0] T0 Any
clone.. protected def clone Object AnyRef
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
finalize.. protected def finalize Unit AnyRef
getClass.. final def getClass Class[Any] AnyRef
hashCode.. def hashCode Int AnyRef
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
performInsert.. def performInsert[T](conn : SuperConnection, query : String, setter : (PreparedStatement) => Unit, tableName : String, genKeyNames : List[String])(handler : (Either[ResultSet, Int]) => T)
Performs an insert and optionally returns the ResultSet of the generated keys that were inserted [details]
If no keys are specified, return the number of rows updated.
param
pkName - Zero or more generated column names that need to be returned
query - The prepared query string to use for the insert
setter - A function that will set the parameters on the prepared statement
conn - A connection that the method can optionally use if it needs to execute ancillary statements
T DriverType
performInsertWithGenKeys.. protected def performInsertWithGenKeys[T](conn : SuperConnection, query : String, setter : (PreparedStatement) => Unit, tableName : String, genKeyNames : List[String], handler : (Either[ResultSet, Int]) => T) T DriverType
primaryKeySetup.. def primaryKeySetup(tableName : String, columnName : 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) [details]
The List of commands will be executed in order.
List[String] DriverType
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toString.. def toString String AnyRef
varcharColumnType.. def varcharColumnType(len : Int) String DriverType
wait.. final def wait(arg0 : Long) Unit AnyRef
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.