org.scalaquery.session

BaseSession

class BaseSession extends Session

Linear Supertypes
Session, Closeable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. BaseSession
  2. Session
  3. Closeable
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. def capabilities : DatabaseCapabilities

    Definition Classes
    BaseSessionSession
  8. def clone (): AnyRef

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

    Definition Classes
    BaseSessionSession → Closeable
  10. lazy val conn : Connection

    Definition Classes
    BaseSessionSession
  11. def createStatement (defaultType: ResultSetType = ResultSetType.ForwardOnly, defaultConcurrency: ResultSetConcurrency = ResultSetConcurrency.ReadOnly, defaultHoldability: ResultSetHoldability = ResultSetHoldability.Default): Statement

    Attributes
    final
    Definition Classes
    Session
  12. var doRollback : Boolean

  13. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  14. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. def forParameters (rsType: ResultSetType = resultSetType, rsConcurrency: ResultSetConcurrency = resultSetConcurrency, rsHoldability: ResultSetHoldability = resultSetHoldability): Session

    Definition Classes
    Session
  17. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  18. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  19. var inTransaction : Boolean

  20. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  21. lazy val metaData : DatabaseMetaData

    Definition Classes
    BaseSessionSession
  22. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  23. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  24. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  25. var open : Boolean

  26. def prepareStatement (sql: String, defaultType: ResultSetType = ResultSetType.ForwardOnly, defaultConcurrency: ResultSetConcurrency = ResultSetConcurrency.ReadOnly, defaultHoldability: ResultSetHoldability = ResultSetHoldability.Default): PreparedStatement

    Attributes
    final
    Definition Classes
    Session
  27. def resultSetConcurrency : ResultSetConcurrency

    Definition Classes
    Session
  28. def resultSetHoldability : ResultSetHoldability

    Definition Classes
    Session
  29. def resultSetType : ResultSetType

    Definition Classes
    Session
  30. def rollback (): Unit

    Call this method within a withTransaction call to roll back the current transaction after withTransaction returns.

    Call this method within a withTransaction call to roll back the current transaction after withTransaction returns.

    Definition Classes
    BaseSessionSession
  31. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  32. def toString (): String

    Definition Classes
    AnyRef → Any
  33. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  36. def withPreparedStatement [T] (sql: String, defaultType: ResultSetType = ResultSetType.ForwardOnly, defaultConcurrency: ResultSetConcurrency = ResultSetConcurrency.ReadOnly, defaultHoldability: ResultSetHoldability = ResultSetHoldability.Default)(f: (PreparedStatement) ⇒ T): T

    Attributes
    final
    Definition Classes
    Session
  37. def withStatement [T] (defaultType: ResultSetType = ResultSetType.ForwardOnly, defaultConcurrency: ResultSetConcurrency = ResultSetConcurrency.ReadOnly, defaultHoldability: ResultSetHoldability = ResultSetHoldability.Default)(f: (Statement) ⇒ T): T

    Attributes
    final
    Definition Classes
    Session
  38. def withTransaction [T] (f: ⇒ T): T

    Run the supplied function within a transaction.

    Run the supplied function within a transaction. If the function throws an Exception or the session's rollback() method is called, the transaction is rolled back, otherwise it is commited when the function returns.

    Definition Classes
    BaseSessionSession

Inherited from Session

Inherited from Closeable

Inherited from AnyRef

Inherited from Any