class JdbcActionExtensionMethods[E <: Effect, R, S <: NoStream] extends AnyRef
- Alphabetic
- By Inheritance
- JdbcActionExtensionMethods
- AnyRef
- Any
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new JdbcActionExtensionMethods(a: DBIOAction[R, S, E])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ->[B](y: B): (JdbcProfile.JdbcActionExtensionMethods[E, R, S], B)
- Implicit
- This member is added by an implicit conversion from JdbcProfile.JdbcActionExtensionMethods[E, R, S] toArrowAssoc[JdbcProfile.JdbcActionExtensionMethods[E, R, S]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def ensuring(cond: (JdbcProfile.JdbcActionExtensionMethods[E, R, S]) => Boolean, msg: => Any): JdbcProfile.JdbcActionExtensionMethods[E, R, S]
- Implicit
- This member is added by an implicit conversion from JdbcProfile.JdbcActionExtensionMethods[E, R, S] toEnsuring[JdbcProfile.JdbcActionExtensionMethods[E, R, S]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (JdbcProfile.JdbcActionExtensionMethods[E, R, S]) => Boolean): JdbcProfile.JdbcActionExtensionMethods[E, R, S]
- Implicit
- This member is added by an implicit conversion from JdbcProfile.JdbcActionExtensionMethods[E, R, S] toEnsuring[JdbcProfile.JdbcActionExtensionMethods[E, R, S]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): JdbcProfile.JdbcActionExtensionMethods[E, R, S]
- Implicit
- This member is added by an implicit conversion from JdbcProfile.JdbcActionExtensionMethods[E, R, S] toEnsuring[JdbcProfile.JdbcActionExtensionMethods[E, R, S]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): JdbcProfile.JdbcActionExtensionMethods[E, R, S]
- Implicit
- This member is added by an implicit conversion from JdbcProfile.JdbcActionExtensionMethods[E, R, S] toEnsuring[JdbcProfile.JdbcActionExtensionMethods[E, R, S]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def transactionally: DBIOAction[R, S, E with Transactional]
Run this Action transactionally.
Run this Action transactionally. This does not guarantee failures to be atomic in the presence of error handling combinators. If multiple
transactionally
combinators are nested, only the outermost one will be backed by an actual database transaction. Depending on the outcome of running the Action it surrounds, the transaction is committed if the wrapped Action succeeds, or rolled back if the wrapped Action fails. When called on a slick.dbio.SynchronousDatabaseAction, this combinator gets fused into the action. - final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withStatementParameters(rsType: ResultSetType = null, rsConcurrency: ResultSetConcurrency = null, rsHoldability: ResultSetHoldability = null, statementInit: (Statement) => Unit = null, fetchSize: Int = 0): DBIOAction[R, S, E]
Run this Action with the given statement parameters.
Run this Action with the given statement parameters. Any unset parameter will use the current value. The following parameters can be set:
- rsType
The JDBC
ResultSetType
- rsConcurrency
The JDBC
ResultSetConcurrency
- rsHoldability
The JDBC
ResultSetHoldability
- statementInit
A function which is run on every
Statement
orPreparedStatement
directly after creating it. This can be used to set additional statement parameters (e.g.setQueryTimeout
). When multiplewithStatementParameters
Actions are nested, all init functions are run, starting with the outermost one.- fetchSize
The fetch size for all statements or 0 for the default.
- def withTransactionIsolation(ti: TransactionIsolation): DBIOAction[R, S, E]
Run this Action with the specified transaction isolation level.
Run this Action with the specified transaction isolation level. This should be used around the outermost
transactionally
Action. The semantics of using it inside a transaction are database-dependent. It does not create a transaction by itself but it pins the session.
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from JdbcProfile.JdbcActionExtensionMethods[E, R, S] toStringFormat[JdbcProfile.JdbcActionExtensionMethods[E, R, S]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (JdbcProfile.JdbcActionExtensionMethods[E, R, S], B)
- Implicit
- This member is added by an implicit conversion from JdbcProfile.JdbcActionExtensionMethods[E, R, S] toArrowAssoc[JdbcProfile.JdbcActionExtensionMethods[E, R, S]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
edit this text on github
Scala Language-Integrated Connection Kit
This is the API documentation for the Slick database library. It should be used as an additional resource to the user manual.
Further documentation for Slick can be found on the documentation pages.
To the slick package list...