Class

slick.jdbc

LoggingPreparedStatement

Related Doc: package jdbc

Permalink

class LoggingPreparedStatement extends LoggingStatement with PreparedStatement

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

Source
LoggingStatement.scala
Linear Supertypes
PreparedStatement, LoggingStatement, Statement, AutoCloseable, Wrapper, AnyRef, Any
Type Hierarchy
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 StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LoggingPreparedStatement(st: PreparedStatement)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  6. def addBatch(): Unit

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

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

    Permalink
    Definition Classes
    Any
  9. def cancel(): Unit

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

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

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  12. def clearParamss: Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    LoggingStatement
  13. def clearWarnings(): Unit

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    LoggingStatement → Statement
  29. def executeLargeBatch(): Array[Long]

    Permalink
    Definition Classes
    Statement
    Annotations
    @throws( classOf[java.sql.SQLException] )
  30. def executeLargeUpdate(): Long

    Permalink
    Definition Classes
    PreparedStatement
    Annotations
    @throws( classOf[java.sql.SQLException] )
  31. def executeLargeUpdate(arg0: String, arg1: Array[String]): Long

    Permalink
    Definition Classes
    Statement
    Annotations
    @throws( classOf[java.sql.SQLException] )
  32. def executeLargeUpdate(arg0: String, arg1: Array[Int]): Long

    Permalink
    Definition Classes
    Statement
    Annotations
    @throws( classOf[java.sql.SQLException] )
  33. def executeLargeUpdate(arg0: String, arg1: Int): Long

    Permalink
    Definition Classes
    Statement
    Annotations
    @throws( classOf[java.sql.SQLException] )
  34. def executeLargeUpdate(arg0: String): Long

    Permalink
    Definition Classes
    Statement
    Annotations
    @throws( classOf[java.sql.SQLException] )
  35. def executeQuery(): ResultSet

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    LoggingStatement → Statement
  49. def getLargeMaxRows(): Long

    Permalink
    Definition Classes
    Statement
    Annotations
    @throws( classOf[java.sql.SQLException] )
  50. def getLargeUpdateCount(): Long

    Permalink
    Definition Classes
    Statement
    Annotations
    @throws( classOf[java.sql.SQLException] )
  51. def getMaxFieldSize(): Int

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  68. def isPoolable(): Boolean

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

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

    Permalink
    Attributes
    protected[this]
    Definition Classes
    LoggingStatement
  71. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  72. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  73. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  74. def p(idx: Int, tpe: Any, value: Any): Unit

    Permalink

    log a parameter

    log a parameter

    Attributes
    protected[this]
    Definition Classes
    LoggingStatement
  75. def pushParams: Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    LoggingStatement
  76. def setArray(i: Int, v: Array): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  77. def setAsciiStream(i: Int, v: InputStream, len: Int): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  78. def setAsciiStream(i: Int, v: InputStream, len: Long): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  79. def setAsciiStream(i: Int, v: InputStream): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  80. def setBigDecimal(i: Int, v: BigDecimal): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  81. def setBinaryStream(i: Int, v: InputStream, len: Int): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  82. def setBinaryStream(i: Int, v: InputStream, len: Long): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  83. def setBinaryStream(i: Int, v: InputStream): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  84. def setBlob(i: Int, v: Blob): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  85. def setBlob(i: Int, v: InputStream, len: Long): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  86. def setBlob(i: Int, v: InputStream): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  87. def setBoolean(i: Int, v: Boolean): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  88. def setByte(i: Int, v: Byte): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  89. def setBytes(i: Int, v: Array[Byte]): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  90. def setCharacterStream(i: Int, v: Reader, len: Int): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  91. def setCharacterStream(i: Int, v: Reader, len: Long): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  92. def setCharacterStream(i: Int, v: Reader): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  93. def setClob(i: Int, v: Clob): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  94. def setClob(i: Int, v: Reader, len: Long): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  95. def setClob(i: Int, v: Reader): Unit

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

    Permalink
    Definition Classes
    LoggingStatement → Statement
  97. def setDate(i: Int, v: Date): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  98. def setDate(i: Int, v: Date, c: Calendar): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  99. def setDouble(i: Int, v: Double): Unit

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

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

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

    Permalink
    Definition Classes
    LoggingStatement → Statement
  103. def setFloat(i: Int, v: Float): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  104. def setInt(i: Int, v: Int): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  105. def setLargeMaxRows(arg0: Long): Unit

    Permalink
    Definition Classes
    Statement
    Annotations
    @throws( classOf[java.sql.SQLException] )
  106. def setLong(i: Int, v: Long): Unit

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

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

    Permalink
    Definition Classes
    LoggingStatement → Statement
  109. def setNCharacterStream(i: Int, v: Reader, len: Long): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  110. def setNCharacterStream(i: Int, v: Reader): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  111. def setNClob(i: Int, v: NClob): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  112. def setNClob(i: Int, v: Reader, len: Long): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  113. def setNClob(i: Int, v: Reader): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  114. def setNString(i: Int, v: String): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  115. def setNull(i: Int, tp: Int): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  116. def setNull(i: Int, tp: Int, tpStr: String): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  117. def setObject(i: Int, v: Any): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  118. def setObject(i: Int, v: Any, tp: Int): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  119. def setObject(i: Int, v: Any, tp: Int, scl: Int): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  120. def setObject(arg0: Int, arg1: Any, arg2: SQLType): Unit

    Permalink
    Definition Classes
    PreparedStatement
    Annotations
    @throws( classOf[java.sql.SQLException] )
  121. def setObject(arg0: Int, arg1: Any, arg2: SQLType, arg3: Int): Unit

    Permalink
    Definition Classes
    PreparedStatement
    Annotations
    @throws( classOf[java.sql.SQLException] )
  122. def setPoolable(poolable: Boolean): Unit

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

    Permalink
    Definition Classes
    LoggingStatement → Statement
  124. def setRef(i: Int, v: Ref): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  125. def setRowId(i: Int, v: RowId): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  126. def setSQLXML(i: Int, v: SQLXML): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  127. def setShort(i: Int, v: Short): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  128. def setString(i: Int, v: String): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  129. def setTime(i: Int, v: Time): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  130. def setTime(i: Int, v: Time, c: Calendar): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  131. def setTimestamp(i: Int, v: Timestamp): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  132. def setTimestamp(i: Int, v: Timestamp, c: Calendar): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
  133. def setURL(i: Int, v: URL): Unit

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

    Permalink
    Definition Classes
    AnyRef
  135. def toString(): String

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

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

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

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

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

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

Deprecated Value Members

  1. def setUnicodeStream(i: Int, v: InputStream, len: Int): Unit

    Permalink
    Definition Classes
    LoggingPreparedStatement → PreparedStatement
    Annotations
    @deprecated
    Deprecated

    (Since version ) setUnicodeStream is deprecated

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 any2stringadd[LoggingPreparedStatement]

Inherited by implicit conversion StringFormat from LoggingPreparedStatement to StringFormat[LoggingPreparedStatement]

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

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

Ungrouped