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 executeQuery(): ResultSet

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

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

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

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

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  36. 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()
  37. final def getClass(): Class[_]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Any
  59. def isPoolable(): Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  121. def toString(): String

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

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  126. 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