Packages

case class StatementExecutor(underlying: PreparedStatement, template: String, connectionAttributes: DBConnectionAttributes, singleParams: Seq[Any] = Nil, tags: Seq[String] = Nil, isBatch: Boolean = false, settingsProvider: SettingsProvider = SettingsProvider.default) extends LogSupport with UnixTimeInMillisConverterImplicits with AutoCloseable with Product with Serializable

java.sql.Statement Executor.

underlying

preparedStatement

template

SQL template

singleParams

parameters for single execution (= not batch execution)

isBatch

is batch flag

Source
StatementExecutor.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, AutoCloseable, UnixTimeInMillisConverterImplicits, LogSupport, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StatementExecutor
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AutoCloseable
  7. UnixTimeInMillisConverterImplicits
  8. LogSupport
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StatementExecutor(underlying: PreparedStatement, template: String, connectionAttributes: DBConnectionAttributes, singleParams: Seq[Any] = Nil, tags: Seq[String] = Nil, isBatch: Boolean = false, settingsProvider: SettingsProvider = SettingsProvider.default)

    underlying

    preparedStatement

    template

    SQL template

    singleParams

    parameters for single execution (= not batch execution)

    isBatch

    is batch flag

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addBatch(): Unit
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def bindParams(params: Seq[Any]): Unit

    Binds parameters to the underlying java.sql.PreparedStatement object.

    Binds parameters to the underlying java.sql.PreparedStatement object.

    params

    parameters

  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def close(): Unit
    Definition Classes
    StatementExecutor → AutoCloseable
  9. val connectionAttributes: DBConnectionAttributes
  10. implicit def convertJavaSqlDateToConverter(t: Date): UnixTimeInMillisConverter
  11. implicit def convertJavaSqlTimeToConverter(t: Time): UnixTimeInMillisConverter
  12. implicit def convertJavaSqlTimestampToConverter(t: Timestamp): UnixTimeInMillisConverter
  13. implicit def convertJavaUtilDateToConverter(t: Date): UnixTimeInMillisConverter
  14. implicit def convertLocalTimeToConverter(t: LocalTime): LocalTimeConverter
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def execute(x1: String, x2: Int): Boolean
  17. def execute(x1: String, x2: Array[String]): Boolean
  18. def execute(x1: String, x2: Array[Int]): Boolean
  19. def execute(x1: String): Boolean
  20. def execute(): Boolean
  21. def executeBatch(): Array[Int]
  22. def executeLargeBatch(): Array[Long]
  23. def executeLargeUpdate(sql: String, autoGeneratedKeys: Int): Long
  24. def executeLargeUpdate(sql: String, columnNames: Array[String]): Long
  25. def executeLargeUpdate(sql: String, columnIndexes: Array[Int]): Long
  26. def executeLargeUpdate(sql: String): Long
  27. def executeLargeUpdate(): Long
  28. def executeQuery(x1: String): ResultSet
  29. def executeQuery(): ResultSet
  30. def executeUpdate(x1: String, x2: Int): Int
  31. def executeUpdate(x1: String, x2: Array[String]): Int
  32. def executeUpdate(x1: String, x2: Array[Int]): Int
  33. def executeUpdate(x1: String): Int
  34. def executeUpdate(): Int
  35. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  36. def generatedKeysResultSet: ResultSet
  37. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  38. val isBatch: Boolean
  39. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  40. val log: Log

    Logger

    Logger

    Attributes
    protected
    Definition Classes
    LogSupport
  41. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  42. final def notify(): Unit
    Definition Classes
    AnyRef
  43. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  44. val settingsProvider: SettingsProvider
  45. val singleParams: Seq[Any]
  46. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  47. val tags: Seq[String]
  48. val template: String
  49. val underlying: PreparedStatement
  50. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AutoCloseable

Inherited from LogSupport

Inherited from AnyRef

Inherited from Any

Ungrouped