org.squeryl.adapters

MySQLInnoDBAdapter

class MySQLInnoDBAdapter extends MySQLAdapter

Since MySQL 5.5 InnoDB has replaced MyISAM as the default storage engine. Thus, to take full advantage of the database abilities, new MySQL installs should use this Adapter. see: http://dev.mysql.com/doc/refman/5.5/en/innodb-default-se.html

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. MySQLInnoDBAdapter
  2. MySQLAdapter
  3. DatabaseAdapter
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MySQLInnoDBAdapter ()

Type Members

  1. class Zip [T] extends AnyRef

  2. class ZipIterable [T] extends AnyRef

Value Members

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  6. def aliasExport (parentOfTarget: QueryableExpressionNode, target: SelectElement): String

    Definition Classes
    DatabaseAdapter
  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. def bigDecimalTypeDeclaration (precision: Int, scale: Int): String

    Definition Classes
    DatabaseAdapter
  9. def bigDecimalTypeDeclaration : String

    Definition Classes
    DatabaseAdapter
  10. def binaryTypeDeclaration : String

    Definition Classes
    MySQLAdapter → DatabaseAdapter
  11. def booleanTypeDeclaration : String

    Definition Classes
    DatabaseAdapter
  12. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def convertFromBooleanForJdbc (b: Boolean): Boolean

    unused at the moment, since all jdbc drivers adhere to the standard that : 1 == true, false otherwise.

    unused at the moment, since all jdbc drivers adhere to the standard that : 1 == true, false otherwise. If a new driver would not adhere to this, the call can be uncommented in method convertToJdbcValue

    Definition Classes
    DatabaseAdapter
  14. def convertFromUuidForJdbc (u: UUID): AnyRef

    Definition Classes
    DatabaseAdapter
  15. def convertParamsForJdbc (params: Iterable[AnyRef]): Iterable[AnyRef]

    Definition Classes
    DatabaseAdapter
  16. def convertToBooleanForJdbc (rs: ResultSet, i: Int): Boolean

    unused for the same reason as def convertFromBooleanForJdbc (see comment)

    unused for the same reason as def convertFromBooleanForJdbc (see comment)

    Definition Classes
    DatabaseAdapter
  17. def convertToJdbcValue (r: AnyRef): AnyRef

    Converts field instances so they can be fed, and understood by JDBC will not do conversion from None/Some, so @arg r should be a java primitive type or a CustomType

    Converts field instances so they can be fed, and understood by JDBC will not do conversion from None/Some, so @arg r should be a java primitive type or a CustomType

    Definition Classes
    DatabaseAdapter
  18. def convertToUuidForJdbc (rs: ResultSet, i: Int): UUID

    Definition Classes
    DatabaseAdapter
  19. def createSequenceName (fmd: FieldMetaData): String

    Definition Classes
    DatabaseAdapter
  20. def currenSession : Session

    Attributes
    protected
    Definition Classes
    DatabaseAdapter
  21. def databaseTypeFor (c: Class[_]): String

    Definition Classes
    DatabaseAdapter
  22. def databaseTypeFor (fmd: FieldMetaData): String

    Definition Classes
    DatabaseAdapter
  23. def dateTypeDeclaration : String

    Definition Classes
    DatabaseAdapter
  24. def doubleTypeDeclaration : String

    Definition Classes
    DatabaseAdapter
  25. def dropForeignKeyStatement (foreignKeyTable: org.squeryl.Table[_], fkName: String, session: Session): Unit

    Definition Classes
    DatabaseAdapter
  26. def dropTable (t: org.squeryl.Table[_]): Unit

    Definition Classes
    DatabaseAdapter
  27. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  28. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  29. def exec [A] (s: Session, sw: StatementWriter)(block: (Iterable[AnyRef]) ⇒ A): A

    Attributes
    protected
    Definition Classes
    DatabaseAdapter
  30. def execFailSafeExecute (sw: StatementWriter, silenceException: (SQLException) ⇒ Boolean): Unit

    Some methods like 'dropTable' issue their statement, and will silence the exception.

    Some methods like 'dropTable' issue their statement, and will silence the exception. For example dropTable will silence when isTableDoesNotExistException(theExceptionThrown). It must be used carefully, and an exception should not be silenced unless identified.

    Attributes
    protected
    Definition Classes
    DatabaseAdapter
  31. def executeQuery (s: Session, sw: StatementWriter): (ResultSet, PreparedStatement)

    Definition Classes
    DatabaseAdapter
  32. def executeUpdate (s: Session, sw: StatementWriter): (Int, PreparedStatement)

    Definition Classes
    DatabaseAdapter
  33. def executeUpdateAndCloseStatement (s: Session, sw: StatementWriter): Int

    Definition Classes
    DatabaseAdapter
  34. def executeUpdateForInsert (s: Session, sw: StatementWriter, ps: PreparedStatement): Int

    Definition Classes
    DatabaseAdapter
  35. def failureOfStatementRequiresRollback : Boolean

    Definition Classes
    DatabaseAdapter
  36. def fieldAlias (n: QueryableExpressionNode, fse: FieldSelectElement): String

    Definition Classes
    DatabaseAdapter
  37. def fillParamsInto (params: Iterable[AnyRef], s: PreparedStatement): Unit

    Definition Classes
    DatabaseAdapter
  38. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  39. def floatTypeDeclaration : String

    Definition Classes
    MySQLAdapter → DatabaseAdapter
  40. def foreignKeyConstraintName (foreignKeyTable: org.squeryl.Table[_], idWithinSchema: Int): String

    Definition Classes
    DatabaseAdapter
  41. def generateAlmostUniqueSuffixWithHash (s: String): String

    This will create an probabilistically unique string of length no longer than 11 chars, it can be used to create "almost unique" names where uniqueness is not an absolute requirement, is not ,

    This will create an probabilistically unique string of length no longer than 11 chars, it can be used to create "almost unique" names where uniqueness is not an absolute requirement, is not ,

    Definition Classes
    DatabaseAdapter
  42. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  43. def getInsertableFields (fmd: Iterable[FieldMetaData]): Iterable[FieldMetaData]

    Attributes
    protected
    Definition Classes
    DatabaseAdapter
  44. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  45. def intTypeDeclaration : String

    Definition Classes
    DatabaseAdapter
  46. def isFullOuterJoinSupported : Boolean

    Definition Classes
    MySQLAdapter → DatabaseAdapter
  47. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  48. def isNotNullConstraintViolation (e: SQLException): Boolean

    Figures out from the SQLException (ex.

    Figures out from the SQLException (ex.: vendor specific error code) if it's cause is a NOT NULL constraint violation

    Definition Classes
    DatabaseAdapter
  49. def isTableDoesNotExistException (e: SQLException): Boolean

    Definition Classes
    MySQLAdapter → DatabaseAdapter
  50. def longTypeDeclaration : String

    Definition Classes
    DatabaseAdapter
  51. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  52. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  53. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  54. def nvlToken : String

    Definition Classes
    DatabaseAdapter
  55. def postCreateTable (t: org.squeryl.Table[_], printSinkWhenWriteOnlyMode: Option[(String) ⇒ Unit]): Unit

    When @arg printSinkWhenWriteOnlyMode is not None, the adapter will not execute any statement, but only silently give it to the String=>Unit closure

    When @arg printSinkWhenWriteOnlyMode is not None, the adapter will not execute any statement, but only silently give it to the String=>Unit closure

    Definition Classes
    DatabaseAdapter
  56. def postDropTable (t: org.squeryl.Table[_]): Unit

    Definition Classes
    DatabaseAdapter
  57. def quoteIdentifier (s: String): String

    Definition Classes
    DatabaseAdapter
  58. def quoteName (s: String): String

    Definition Classes
    DatabaseAdapter
  59. implicit def string2StatementWriter (s: String): StatementWriter

    Attributes
    implicit
    Definition Classes
    DatabaseAdapter
  60. def stringTypeDeclaration (length: Int): String

    Definition Classes
    DatabaseAdapter
  61. def stringTypeDeclaration : String

    Definition Classes
    DatabaseAdapter
  62. def supportsAutoIncrementInColumnDeclaration : Boolean

    Definition Classes
    DatabaseAdapter
  63. def supportsForeignKeyConstraints : Boolean

    InnoDB MySQL tables support foreign key constraints, see http://dev.

    InnoDB MySQL tables support foreign key constraints, see http://dev.mysql.com/doc/refman/5.5/en/innodb-foreign-key-constraints.html

    Definition Classes
    MySQLInnoDBAdapter → MySQLAdapter → DatabaseAdapter
  64. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  65. def timestampTypeDeclaration : String

    Definition Classes
    MySQLAdapter → DatabaseAdapter
  66. def toString (): String

    Definition Classes
    AnyRef → Any
  67. def uuidTypeDeclaration : String

    Definition Classes
    DatabaseAdapter
  68. def viewAlias (vn: org.squeryl.dsl.ast.ViewExpressionNode[_]): String

    Definition Classes
    DatabaseAdapter
  69. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  72. def writeCaseStatement (toMatch: Option[ExpressionNode], cases: Iterable[(ExpressionNode, org.squeryl.dsl.ast.TypedExpressionNode[_])], otherwise: org.squeryl.dsl.ast.TypedExpressionNode[_], sw: StatementWriter): Unit

    Definition Classes
    DatabaseAdapter
  73. def writeCastInvocation (e: org.squeryl.dsl.ast.TypedExpressionNode[_], sw: StatementWriter): Unit

    Definition Classes
    DatabaseAdapter
  74. def writeColumnDeclaration (fmd: FieldMetaData, isPrimaryKey: Boolean, schema: Schema): String

    Definition Classes
    DatabaseAdapter
  75. def writeCompositePrimaryKeyConstraint (t: org.squeryl.Table[_], cols: Iterable[FieldMetaData]): String

    Definition Classes
    DatabaseAdapter
  76. def writeConcatFunctionCall (fn: org.squeryl.dsl.ast.FunctionNode[_], sw: StatementWriter): Unit

    Definition Classes
    DatabaseAdapter
  77. def writeConcatOperator (left: ExpressionNode, right: ExpressionNode, sw: StatementWriter): Unit

    Definition Classes
    MySQLAdapter → DatabaseAdapter
  78. def writeCreateTable [T] (t: Table[T], sw: StatementWriter, schema: Schema): Unit

    Definition Classes
    DatabaseAdapter
  79. def writeDelete [T] (t: Table[T], whereClause: Option[ExpressionNode], sw: StatementWriter): Unit

    Definition Classes
    DatabaseAdapter
  80. def writeDropForeignKeyStatement (foreignKeyTable: org.squeryl.Table[_], fkName: String): String

    Definition Classes
    MySQLAdapter → DatabaseAdapter
  81. def writeDropTable (tableName: String): String

    Definition Classes
    DatabaseAdapter
  82. def writeEndOfFromHint (qen: QueryExpressionElements, sw: StatementWriter): Unit

    Definition Classes
    DatabaseAdapter
  83. def writeEndOfQueryHint (qen: QueryExpressionElements, sw: StatementWriter): Unit

    Definition Classes
    DatabaseAdapter
  84. def writeForeignKeyDeclaration (foreignKeyTable: org.squeryl.Table[_], foreignKeyColumnName: String, primaryKeyTable: org.squeryl.Table[_], primaryKeyColumnName: String, referentialAction1: Option[ReferentialAction], referentialAction2: Option[ReferentialAction], fkId: Int): String

    Definition Classes
    MySQLAdapter → DatabaseAdapter
  85. def writeIndexDeclaration (columnDefs: Seq[FieldMetaData], name: Option[String], nameOfCompositeKey: Option[String], isUnique: Boolean): String

    Definition Classes
    DatabaseAdapter
  86. def writeInsert [T] (o: T, t: Table[T], sw: StatementWriter): Unit

    Definition Classes
    DatabaseAdapter
  87. def writeJoin (queryableExpressionNode: QueryableExpressionNode, sw: StatementWriter): Unit

    Definition Classes
    DatabaseAdapter
  88. def writeNvlCall (left: ExpressionNode, right: ExpressionNode, sw: StatementWriter): Unit

    Definition Classes
    DatabaseAdapter
  89. def writePaginatedQueryDeclaration (qen: QueryExpressionElements, sw: StatementWriter): Unit

    Definition Classes
    DatabaseAdapter
  90. def writeQuery (qen: QueryExpressionElements, sw: StatementWriter, inverseOrderBy: Boolean, topHint: Option[String]): Unit

    Attributes
    protected
    Definition Classes
    DatabaseAdapter
  91. def writeQuery (qen: QueryExpressionElements, sw: StatementWriter): Unit

    Definition Classes
    DatabaseAdapter
  92. def writeRegexExpression (left: ExpressionNode, pattern: String, sw: StatementWriter): Unit

    Definition Classes
    MySQLAdapter → DatabaseAdapter
  93. def writeSelectElementAlias (se: SelectElement, sw: StatementWriter): Unit

    Definition Classes
    DatabaseAdapter
  94. def writeUniquenessConstraint (t: org.squeryl.Table[_], cols: Iterable[FieldMetaData]): String

    Definition Classes
    DatabaseAdapter
  95. def writeUpdate (t: org.squeryl.Table[_], us: UpdateStatement, sw: StatementWriter): Unit

    Definition Classes
    DatabaseAdapter
  96. def writeUpdate [T] (o: T, t: Table[T], sw: StatementWriter, checkOCC: Boolean): Unit

    Definition Classes
    DatabaseAdapter
  97. def writeValue (o: AnyRef, fmd: FieldMetaData, sw: StatementWriter): String

    Attributes
    protected
    Definition Classes
    DatabaseAdapter
  98. implicit def zipIterable [T] (i: Iterable[T]): ZipIterable[T]

    Attributes
    implicit
    Definition Classes
    DatabaseAdapter

Inherited from MySQLAdapter

Inherited from DatabaseAdapter

Inherited from AnyRef

Inherited from Any