StatementExecutor

scalikejdbc.StatementExecutor
See theStatementExecutor companion object
case class StatementExecutor(underlying: PreparedStatement, template: String, connectionAttributes: DBConnectionAttributes, singleParams: Seq[Any], tags: Seq[String], isBatch: Boolean, settingsProvider: SettingsProvider) extends AutoCloseable

java.sql.Statement Executor.

Value parameters

isBatch

is batch flag

singleParams

parameters for single execution (= not batch execution)

template

SQL template

underlying

preparedStatement

Attributes

Companion
object
Source
StatementExecutor.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait AutoCloseable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addBatch(): Unit

Attributes

Source
StatementExecutor.scala
def bindParams(params: Seq[Any]): Unit

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

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

Value parameters

params

parameters

Attributes

Source
StatementExecutor.scala
def close(): Unit

Attributes

Source
StatementExecutor.scala
def execute(): Boolean

Attributes

Source
StatementExecutor.scala
def execute(x1: String): Boolean

Attributes

Source
StatementExecutor.scala
def execute(x1: String, x2: Array[Int]): Boolean

Attributes

Source
StatementExecutor.scala
def execute(x1: String, x2: Array[String]): Boolean

Attributes

Source
StatementExecutor.scala
def execute(x1: String, x2: Int): Boolean

Attributes

Source
StatementExecutor.scala
def executeBatch(): Array[Int]

Attributes

Source
StatementExecutor.scala
def executeLargeBatch(): Array[Long]

Attributes

Source
StatementExecutor.scala
def executeLargeUpdate(): Long

Attributes

Source
StatementExecutor.scala
def executeLargeUpdate(sql: String): Long

Attributes

Source
StatementExecutor.scala
def executeLargeUpdate(sql: String, columnIndexes: Array[Int]): Long

Attributes

Source
StatementExecutor.scala
def executeLargeUpdate(sql: String, columnNames: Array[String]): Long

Attributes

Source
StatementExecutor.scala
def executeLargeUpdate(sql: String, autoGeneratedKeys: Int): Long

Attributes

Source
StatementExecutor.scala
def executeQuery(): ResultSet

Attributes

Source
StatementExecutor.scala
def executeQuery(x1: String): ResultSet

Attributes

Source
StatementExecutor.scala
def executeUpdate(): Int

Attributes

Source
StatementExecutor.scala
def executeUpdate(x1: String): Int

Attributes

Source
StatementExecutor.scala
def executeUpdate(x1: String, x2: Array[Int]): Int

Attributes

Source
StatementExecutor.scala
def executeUpdate(x1: String, x2: Array[String]): Int

Attributes

Source
StatementExecutor.scala
def executeUpdate(x1: String, x2: Int): Int

Attributes

Source
StatementExecutor.scala
def generatedKeysResultSet: ResultSet

Attributes

Source
StatementExecutor.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Inherited fields

protected val log: Log

Logger

Logger

Attributes

Inherited from:
LogSupport (hidden)
Source
LogSupport.scala