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. abstract def columnName(colIdx: Int, md: ResultSetMetaData): String

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

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

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

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

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

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

    Definition Classes
    StatementAdapter
  8. abstract 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

    Definition Classes
    ParameterAdapter
  9. abstract 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

    Definition Classes
    ParameterAdapter

Concrete Value Members

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

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

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

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

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

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

    Definition Classes
    Any
  7. def clone(): AnyRef

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

    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. final def getClass(): java.lang.Class[_]

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

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

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

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

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

    Definition Classes
    AnyRef
  17. final 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
    Definition Classes
    ExceptionAdapter
  18. final def stateClass(e: SQLException): Option[String]

    returns

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

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

    Definition Classes
    AnyRef
  20. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from StatementAdapter

Inherited from ColumnNameAdapter

Inherited from ParameterAdapter

Inherited from ExceptionAdapter

Inherited from AnyRef

Inherited from Any