slick.jdbc

LoggingPreparedStatement

Related Doc: package jdbc

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 StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  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: Any): Boolean

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

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

    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)

    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

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

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

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

    Definition Classes
    Any
  9. def cancel(): Unit

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

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

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

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

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

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

    Definition Classes
    LoggingStatement → Statement
  16. 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 Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: (LoggingPreparedStatement) ⇒ Boolean): LoggingPreparedStatement

    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: Boolean, msg: ⇒ Any): LoggingPreparedStatement

    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): LoggingPreparedStatement

    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. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    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()
  43. final def getClass(): Class[_]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Any
  67. def isPoolable(): Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Statement
    Annotations
    @throws( classOf[java.sql.SQLException] )
  103. def setLong(idx: Int, value: Long): Unit

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  132. def toString(): String

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

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

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

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

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

    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(idx: Int, value: InputStream, len: Int): Unit

    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