slick.jdbc

LoggingPreparedStatement

class LoggingPreparedStatement extends LoggingStatement with PreparedStatement

A wrapper for java.sql.PreparedStatement that logs statements and benchmark results to the appropriate JdbcBackend loggers.

Source
LoggingStatement.scala
Linear Supertypes
PreparedStatement, LoggingStatement, Statement, AutoCloseable, Wrapper, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LoggingPreparedStatement
  2. PreparedStatement
  3. LoggingStatement
  4. Statement
  5. AutoCloseable
  6. Wrapper
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LoggingPreparedStatement(st: PreparedStatement)

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. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from LoggingPreparedStatement to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (LoggingPreparedStatement, B)

    Implicit information
    This member is added by an implicit conversion from LoggingPreparedStatement to ArrowAssoc[LoggingPreparedStatement] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  8. def addBatch(): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  9. def addBatch(sql: String): Unit

    Definition Classes
    LoggingStatement → Statement
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def cancel(): Unit

    Definition Classes
    LoggingStatement → Statement
  12. def clearBatch(): Unit

    Definition Classes
    LoggingStatement → Statement
  13. def clearParameters(): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  14. def clearWarnings(): Unit

    Definition Classes
    LoggingStatement → Statement
  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def close(): Unit

    Definition Classes
    LoggingStatement → Statement → AutoCloseable
  17. def closeOnCompletion(): Unit

    Definition Classes
    LoggingStatement → Statement
  18. def ensuring(cond: (LoggingPreparedStatement) ⇒ Boolean, msg: ⇒ Any): LoggingPreparedStatement

    Implicit information
    This member is added by an implicit conversion from LoggingPreparedStatement to Ensuring[LoggingPreparedStatement] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: (LoggingPreparedStatement) ⇒ Boolean): LoggingPreparedStatement

    Implicit information
    This member is added by an implicit conversion from LoggingPreparedStatement to Ensuring[LoggingPreparedStatement] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: Boolean, msg: ⇒ Any): LoggingPreparedStatement

    Implicit information
    This member is added by an implicit conversion from LoggingPreparedStatement to Ensuring[LoggingPreparedStatement] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: Boolean): LoggingPreparedStatement

    Implicit information
    This member is added by an implicit conversion from LoggingPreparedStatement to Ensuring[LoggingPreparedStatement] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  24. def execute(): Boolean

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  25. def execute(sql: String): Boolean

    Definition Classes
    LoggingStatement → Statement
  26. def execute(sql: String, autoGeneratedKeys: Int): Boolean

    Definition Classes
    LoggingStatement → Statement
  27. def execute(sql: String, columnIndexes: Array[Int]): Boolean

    Definition Classes
    LoggingStatement → Statement
  28. def execute(sql: String, columnNames: Array[String]): Boolean

    Definition Classes
    LoggingStatement → Statement
  29. def executeBatch(): Array[Int]

    Definition Classes
    LoggingStatement → Statement
  30. def executeQuery(): ResultSet

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  31. def executeQuery(sql: String): ResultSet

    Definition Classes
    LoggingStatement → Statement
  32. def executeUpdate(): Int

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  33. def executeUpdate(sql: String): Int

    Definition Classes
    LoggingStatement → Statement
  34. def executeUpdate(sql: String, autoGeneratedKeys: Int): Int

    Definition Classes
    LoggingStatement → Statement
  35. def executeUpdate(sql: String, columnIndexes: Array[Int]): Int

    Definition Classes
    LoggingStatement → Statement
  36. def executeUpdate(sql: String, columnNames: Array[String]): Int

    Definition Classes
    LoggingStatement → Statement
  37. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  38. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from LoggingPreparedStatement to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  39. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  40. def getConnection(): Connection

    Definition Classes
    LoggingStatement → Statement
  41. def getFetchDirection(): Int

    Definition Classes
    LoggingStatement → Statement
  42. def getFetchSize(): Int

    Definition Classes
    LoggingStatement → Statement
  43. def getGeneratedKeys(): ResultSet

    Definition Classes
    LoggingStatement → Statement
  44. def getMaxFieldSize(): Int

    Definition Classes
    LoggingStatement → Statement
  45. def getMaxRows(): Int

    Definition Classes
    LoggingStatement → Statement
  46. def getMetaData(): ResultSetMetaData

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  47. def getMoreResults(): Boolean

    Definition Classes
    LoggingStatement → Statement
  48. def getMoreResults(current: Int): Boolean

    Definition Classes
    LoggingStatement → Statement
  49. def getParameterMetaData(): ParameterMetaData

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  50. def getQueryTimeout(): Int

    Definition Classes
    LoggingStatement → Statement
  51. def getResultSet(): ResultSet

    Definition Classes
    LoggingStatement → Statement
  52. def getResultSetConcurrency(): Int

    Definition Classes
    LoggingStatement → Statement
  53. def getResultSetHoldability(): Int

    Definition Classes
    LoggingStatement → Statement
  54. def getResultSetType(): Int

    Definition Classes
    LoggingStatement → Statement
  55. def getUpdateCount(): Int

    Definition Classes
    LoggingStatement → Statement
  56. def getWarnings(): SQLWarning

    Definition Classes
    LoggingStatement → Statement
  57. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  58. def isCloseOnCompletion(): Boolean

    Definition Classes
    LoggingStatement → Statement
  59. def isClosed(): Boolean

    Definition Classes
    LoggingStatement → Statement
  60. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  61. def isPoolable(): Boolean

    Definition Classes
    LoggingStatement → Statement
  62. def isWrapperFor(iface: Class[_]): Boolean

    Definition Classes
    LoggingStatement → Wrapper
  63. def logged[T](sql: String, what: String = "statement")(f: ⇒ T): T

    Attributes
    protected[this]
    Definition Classes
    LoggingStatement
    Annotations
    @inline()
  64. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  67. def setArray(idx: Int, value: Array): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  68. def setAsciiStream(idx: Int, value: InputStream, len: Int): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  69. def setAsciiStream(idx: Int, value: InputStream, len: Long): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  70. def setAsciiStream(idx: Int, value: InputStream): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  71. def setBigDecimal(idx: Int, value: BigDecimal): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  72. def setBinaryStream(idx: Int, value: InputStream, len: Int): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  73. def setBinaryStream(idx: Int, value: InputStream, len: Long): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  74. def setBinaryStream(idx: Int, value: InputStream): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  75. def setBlob(idx: Int, value: Blob): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  76. def setBlob(idx: Int, value: InputStream, len: Long): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  77. def setBlob(idx: Int, value: InputStream): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  78. def setBoolean(idx: Int, value: Boolean): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  79. def setByte(idx: Int, value: Byte): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  80. def setBytes(idx: Int, value: Array[Byte]): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  81. def setCharacterStream(idx: Int, value: Reader, len: Int): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  82. def setCharacterStream(idx: Int, value: Reader, len: Long): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  83. def setCharacterStream(idx: Int, value: Reader): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  84. def setClob(idx: Int, value: Clob): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  85. def setClob(idx: Int, value: Reader, len: Long): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  86. def setClob(idx: Int, value: Reader): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  87. def setCursorName(name: String): Unit

    Definition Classes
    LoggingStatement → Statement
  88. def setDate(idx: Int, value: Date): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  89. def setDate(idx: Int, value: Date, cal: Calendar): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  90. def setDouble(idx: Int, value: Double): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  91. def setEscapeProcessing(enable: Boolean): Unit

    Definition Classes
    LoggingStatement → Statement
  92. def setFetchDirection(direction: Int): Unit

    Definition Classes
    LoggingStatement → Statement
  93. def setFetchSize(rows: Int): Unit

    Definition Classes
    LoggingStatement → Statement
  94. def setFloat(idx: Int, value: Float): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  95. def setInt(idx: Int, value: Int): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  96. def setLong(idx: Int, value: Long): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  97. def setMaxFieldSize(max: Int): Unit

    Definition Classes
    LoggingStatement → Statement
  98. def setMaxRows(max: Int): Unit

    Definition Classes
    LoggingStatement → Statement
  99. def setNCharacterStream(idx: Int, value: Reader, len: Long): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  100. def setNCharacterStream(idx: Int, value: Reader): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  101. def setNClob(idx: Int, value: NClob): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  102. def setNClob(idx: Int, value: Reader, len: Long): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  103. def setNClob(idx: Int, value: Reader): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  104. def setNString(idx: Int, value: String): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  105. def setNull(idx: Int, tpe: Int): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  106. def setNull(idx: Int, tpe: Int, tpeString: String): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  107. def setObject(idx: Int, value: Any, tpe: Int): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  108. def setObject(idx: Int, value: Any): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  109. def setObject(idx: Int, value: Any, tpe: Int, scale: Int): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  110. def setPoolable(poolable: Boolean): Unit

    Definition Classes
    LoggingStatement → Statement
  111. def setQueryTimeout(seconds: Int): Unit

    Definition Classes
    LoggingStatement → Statement
  112. def setRef(idx: Int, value: Ref): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  113. def setRowId(idx: Int, value: RowId): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  114. def setSQLXML(idx: Int, value: SQLXML): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  115. def setShort(idx: Int, value: Short): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  116. def setString(idx: Int, value: String): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  117. def setTime(idx: Int, value: Time): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  118. def setTime(idx: Int, value: Time, cal: Calendar): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  119. def setTimestamp(idx: Int, value: Timestamp): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  120. def setTimestamp(idx: Int, value: Timestamp, cal: Calendar): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  121. def setURL(idx: Int, value: URL): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  122. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  123. def toString(): String

    Definition Classes
    AnyRef → Any
  124. def unwrap[T](iface: Class[T]): T

    Definition Classes
    LoggingStatement → Wrapper
  125. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  128. def [B](y: B): (LoggingPreparedStatement, B)

    Implicit information
    This member is added by an implicit conversion from LoggingPreparedStatement to ArrowAssoc[LoggingPreparedStatement] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from LoggingPreparedStatement to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (loggingPreparedStatement: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from LoggingPreparedStatement to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (loggingPreparedStatement: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def setUnicodeStream(idx: Int, value: InputStream, len: Int): Unit

    Definition Classes
    LoggingPreparedStatement → PreparedStatement
    Annotations
    @deprecated
    Deprecated

    (Since version ) setUnicodeStream is deprecated

  2. def x: LoggingPreparedStatement

    Implicit information
    This member is added by an implicit conversion from LoggingPreparedStatement to ArrowAssoc[LoggingPreparedStatement] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (loggingPreparedStatement: ArrowAssoc[LoggingPreparedStatement]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  3. def x: LoggingPreparedStatement

    Implicit information
    This member is added by an implicit conversion from LoggingPreparedStatement to Ensuring[LoggingPreparedStatement] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (loggingPreparedStatement: Ensuring[LoggingPreparedStatement]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from PreparedStatement

Inherited from LoggingStatement

Inherited from Statement

Inherited from AutoCloseable

Inherited from Wrapper

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from LoggingPreparedStatement to StringAdd

Inherited by implicit conversion any2stringfmt from LoggingPreparedStatement to StringFormat

Inherited by implicit conversion any2ArrowAssoc from LoggingPreparedStatement to ArrowAssoc[LoggingPreparedStatement]

Inherited by implicit conversion any2Ensuring from LoggingPreparedStatement to Ensuring[LoggingPreparedStatement]

Ungrouped