Class

org.gerweck.scala.util.jdbc

WrappedPreparedStatement

Related Doc: package jdbc

Permalink

class WrappedPreparedStatement extends WrappedStatement with PreparedStatement with WrapperWrapping[PreparedStatement]

A wrapper around a JDBC java.sql.PreparedStatement.

This is useful to allow you to override or wrap certain methods: you can use this as a base class and override just the methods you care about. Everything else will delegate to the underlying connection.

Source
WrappedPreparedStatement.scala
Linear Supertypes
PreparedStatement, WrappedStatement, WrapperWrapping[PreparedStatement], Statement, AutoCloseable, Wrapper, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WrappedPreparedStatement
  2. PreparedStatement
  3. WrappedStatement
  4. WrapperWrapping
  5. Statement
  6. AutoCloseable
  7. Wrapper
  8. AnyRef
  9. Any
Implicitly
  1. by RichWrapper
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new WrappedPreparedStatement(inner: 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 WrappedPreparedStatement to any2stringadd[WrappedPreparedStatement] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (WrappedPreparedStatement, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from WrappedPreparedStatement to ArrowAssoc[WrappedPreparedStatement] 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
    WrappedPreparedStatement → PreparedStatement
  7. def addBatch(arg0: String): Unit

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    WrappedStatement → Statement
  16. def ensuring(cond: (WrappedPreparedStatement) ⇒ Boolean, msg: ⇒ Any): WrappedPreparedStatement

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

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

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

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

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

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

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  23. def execute(arg0: String): Boolean

    Permalink
    Definition Classes
    WrappedStatement → Statement
  24. def execute(arg0: String, arg1: Int): Boolean

    Permalink
    Definition Classes
    WrappedStatement → Statement
  25. def execute(arg0: String, arg1: Array[Int]): Boolean

    Permalink
    Definition Classes
    WrappedStatement → Statement
  26. def execute(arg0: String, arg1: Array[String]): Boolean

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

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

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

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  30. def executeLargeUpdate(arg0: String, arg1: Array[String]): Long

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

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

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

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

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  35. def executeQuery(arg0: String): ResultSet

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

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  37. def executeUpdate(arg0: String): Int

    Permalink
    Definition Classes
    WrappedStatement → Statement
  38. def executeUpdate(arg0: String, arg1: Int): Int

    Permalink
    Definition Classes
    WrappedStatement → Statement
  39. def executeUpdate(arg0: String, arg1: Array[Int]): Int

    Permalink
    Definition Classes
    WrappedStatement → Statement
  40. def executeUpdate(arg0: String, arg1: Array[String]): Int

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    WrappedStatement → Statement
  54. def getMoreResults(arg0: Int): Boolean

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    WrapperWrapping → AnyRef → Any
  64. val inner: PreparedStatement

    Permalink
  65. def isCloseOnCompletion(): Boolean

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

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

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

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

    Permalink
    Definition Classes
    WrapperWrapping → Wrapper
  70. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  73. def setArray(arg0: Int, arg1: Array): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  74. def setAsciiStream(arg0: Int, arg1: InputStream): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  75. def setAsciiStream(arg0: Int, arg1: InputStream, arg2: Long): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  76. def setAsciiStream(arg0: Int, arg1: InputStream, arg2: Int): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  77. def setBigDecimal(arg0: Int, arg1: BigDecimal): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  78. def setBinaryStream(arg0: Int, arg1: InputStream): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  79. def setBinaryStream(arg0: Int, arg1: InputStream, arg2: Long): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  80. def setBinaryStream(arg0: Int, arg1: InputStream, arg2: Int): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  81. def setBlob(arg0: Int, arg1: InputStream): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  82. def setBlob(arg0: Int, arg1: InputStream, arg2: Long): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  83. def setBlob(arg0: Int, arg1: Blob): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  84. def setBoolean(arg0: Int, arg1: Boolean): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  85. def setByte(arg0: Int, arg1: Byte): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  86. def setBytes(arg0: Int, arg1: Array[Byte]): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  87. def setCharacterStream(arg0: Int, arg1: Reader): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  88. def setCharacterStream(arg0: Int, arg1: Reader, arg2: Long): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  89. def setCharacterStream(arg0: Int, arg1: Reader, arg2: Int): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  90. def setClob(arg0: Int, arg1: Reader): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  91. def setClob(arg0: Int, arg1: Reader, arg2: Long): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  92. def setClob(arg0: Int, arg1: Clob): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  93. def setCursorName(arg0: String): Unit

    Permalink
    Definition Classes
    WrappedStatement → Statement
  94. def setDate(arg0: Int, arg1: Date, arg2: Calendar): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  95. def setDate(arg0: Int, arg1: Date): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  96. def setDouble(arg0: Int, arg1: Double): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  97. def setEscapeProcessing(arg0: Boolean): Unit

    Permalink
    Definition Classes
    WrappedStatement → Statement
  98. def setFetchDirection(arg0: Int): Unit

    Permalink
    Definition Classes
    WrappedStatement → Statement
  99. def setFetchSize(arg0: Int): Unit

    Permalink
    Definition Classes
    WrappedStatement → Statement
  100. def setFloat(arg0: Int, arg1: Float): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  101. def setInt(arg0: Int, arg1: Int): Unit

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

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

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  104. def setMaxFieldSize(arg0: Int): Unit

    Permalink
    Definition Classes
    WrappedStatement → Statement
  105. def setMaxRows(arg0: Int): Unit

    Permalink
    Definition Classes
    WrappedStatement → Statement
  106. def setNCharacterStream(arg0: Int, arg1: Reader): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  107. def setNCharacterStream(arg0: Int, arg1: Reader, arg2: Long): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  108. def setNClob(arg0: Int, arg1: Reader): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  109. def setNClob(arg0: Int, arg1: Reader, arg2: Long): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  110. def setNClob(arg0: Int, arg1: NClob): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  111. def setNString(arg0: Int, arg1: String): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  112. def setNull(arg0: Int, arg1: Int, arg2: String): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  113. def setNull(arg0: Int, arg1: Int): Unit

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

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  115. def setObject(arg0: Int, arg1: Any, arg2: SQLType, arg3: Int): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  116. def setObject(arg0: Int, arg1: Any, arg2: Int, arg3: Int): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  117. def setObject(arg0: Int, arg1: Any): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  118. def setObject(arg0: Int, arg1: Any, arg2: Int): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  119. def setPoolable(arg0: Boolean): Unit

    Permalink
    Definition Classes
    WrappedStatement → Statement
  120. def setQueryTimeout(arg0: Int): Unit

    Permalink
    Definition Classes
    WrappedStatement → Statement
  121. def setRef(arg0: Int, arg1: Ref): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  122. def setRowId(arg0: Int, arg1: RowId): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  123. def setSQLXML(arg0: Int, arg1: SQLXML): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  124. def setShort(arg0: Int, arg1: Short): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  125. def setString(arg0: Int, arg1: String): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  126. def setTime(arg0: Int, arg1: Time, arg2: Calendar): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  127. def setTime(arg0: Int, arg1: Time): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  128. def setTimestamp(arg0: Int, arg1: Timestamp, arg2: Calendar): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  129. def setTimestamp(arg0: Int, arg1: Timestamp): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
  130. def setURL(arg0: Int, arg1: URL): Unit

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

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

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

    Permalink
    Definition Classes
    WrapperWrapping → Wrapper
  134. def unwrapOption[A](implicit ev: ClassTag[A]): Option[A]

    Permalink

    An extension method to make it more Scala-style to use a java.sql.Wrapper.

    An extension method to make it more Scala-style to use a java.sql.Wrapper.

    A

    the type of the target object to attempt to unwrap

    returns

    an scala.Option that will be defined if the class was a wrapper, and undefined otherwise.

    Implicit information
    This member is added by an implicit conversion from WrappedPreparedStatement to RichWrapper performed by method RichWrapper in org.gerweck.scala.util.jdbc.
    Definition Classes
    RichWrapper
  135. final def wait(): Unit

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

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

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

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

Shadowed Implicit Value Members

  1. val inner: Wrapper

    Permalink
    Implicit information
    This member is added by an implicit conversion from WrappedPreparedStatement to RichWrapper performed by method RichWrapper in org.gerweck.scala.util.jdbc.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (wrappedPreparedStatement: RichWrapper).inner
    Definition Classes
    RichWrapper

Deprecated Value Members

  1. def setUnicodeStream(arg0: Int, arg1: InputStream, arg2: Int): Unit

    Permalink
    Definition Classes
    WrappedPreparedStatement → PreparedStatement
    Annotations
    @deprecated
    Deprecated

    (Since version Deprecated by Java.) 1.0

Inherited from PreparedStatement

Inherited from WrappedStatement

Inherited from WrapperWrapping[PreparedStatement]

Inherited from Statement

Inherited from AutoCloseable

Inherited from Wrapper

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion RichWrapper from WrappedPreparedStatement to RichWrapper

Inherited by implicit conversion any2stringadd from WrappedPreparedStatement to any2stringadd[WrappedPreparedStatement]

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

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

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

Ungrouped