org.orbroker.adapt

BrokerAdapter

trait BrokerAdapter extends ExceptionAdapter with ParameterAdapter with ColumnNameAdapter with StatementAdapter

Broker adapter. Unifies all the adapters.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. BrokerAdapter
  2. StatementAdapter
  3. ColumnNameAdapter
  4. ParameterAdapter
  5. ExceptionAdapter
  6. AnyRef
  7. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. def columnName (colIdx: Int, md: ResultSetMetaData): String

    Attributes
    abstract
    Definition Classes
    ColumnNameAdapter
  2. def constraintName (e: SQLException): Option[String]

    Attributes
    abstract
    Definition Classes
    ExceptionAdapter
  3. def isConstraint (e: SQLException): Boolean

    Attributes
    abstract
    Definition Classes
    ExceptionAdapter
  4. def isDeadlock (e: SQLException): Boolean

    Attributes
    abstract
    Definition Classes
    ExceptionAdapter
  5. def isTimeout (e: SQLException): Boolean

    Attributes
    abstract
    Definition Classes
    ExceptionAdapter
  6. def isTransient (e: SQLException): Boolean

    Attributes
    abstract
    Definition Classes
    ExceptionAdapter
  7. def prepareUpdate (id: Symbol, conn: Connection, sql: String, expectGeneratedKeys: Boolean): PreparedStatement

    Attributes
    abstract
    Definition Classes
    StatementAdapter
  8. def setParameters (id: Symbol, cs: CallableStatement, parmNames: IndexedSeq[String], valuesByName: (String) ⇒ Any): Seq[Any]

    Set all parameter values at the appropriate index on the prepared statement and remember to register OUT and INOUT parameters.

    Set all parameter values at the appropriate index on the prepared statement and remember to register OUT and INOUT parameters. Remember that the supplied sequence has base 0 and JDBC parameters has base 1.

    returns

    Sequence of values for ExecutionCallback, or empty to ignore

    Attributes
    abstract
    Definition Classes
    ParameterAdapter
  9. def setParameters (id: Symbol, ps: PreparedStatement, parmNames: IndexedSeq[String], valuesByName: (String) ⇒ Any): Seq[Any]

    Set all parameter values at the appropriate index on the prepared statement.

    Set all parameter values at the appropriate index on the prepared statement. Remember that the supplied sequence has base 0 and JDBC parameters has base 1.

    returns

    Sequence of values for ExecutionCallback, or empty to ignore

    Attributes
    abstract
    Definition Classes
    ParameterAdapter

Concrete 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 clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def eq (arg0: AnyRef): Boolean

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  12. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  13. def isInstanceOf [T0] : Boolean

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  17. def state (e: SQLException): Option[String]

    Return SQLState.

    Return SQLState.

    e
    returns

    a SQLState code of length 5 or None if no 5 char state was found.

    Attributes
    protected final
    Definition Classes
    ExceptionAdapter
  18. def stateClass (e: SQLException): Option[String]

    returns

    2 char SQLState class or None if such does not exist.

    Attributes
    protected final
    Definition Classes
    ExceptionAdapter
  19. def synchronized [T0] (arg0: ⇒ T0): T0

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

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from StatementAdapter

Inherited from ColumnNameAdapter

Inherited from ParameterAdapter

Inherited from ExceptionAdapter

Inherited from AnyRef

Inherited from Any