org.orbroker.adapt

DefaultAdapter

class DefaultAdapter extends BrokerAdapter with DefaultExceptionAdapter with DefaultParameterAdapter with DefaultColumnNameAdapter with DefaultStatementAdapter

The default adapter, can be used for maintaining default behavior, but overriding one or more traits.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. DefaultAdapter
  2. DefaultStatementAdapter
  3. DefaultColumnNameAdapter
  4. DefaultParameterAdapter
  5. AbstractDefaultParameterAdapter
  6. DefaultExceptionAdapter
  7. BrokerAdapter
  8. StatementAdapter
  9. ColumnNameAdapter
  10. ParameterAdapter
  11. ExceptionAdapter
  12. AnyRef
  13. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DefaultAdapter ()

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

  9. def constraintName (e: SQLException): Option[String]

  10. def eq (arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  15. def isConstraint (e: SQLException): Boolean

  16. def isDeadlock (e: SQLException): Boolean

  17. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  18. def isTimeout (e: SQLException): Boolean

  19. def isTransient (e: SQLException): Boolean

  20. def metadata : MetadataAdapter

    Attributes
    protected
    Definition Classes
    AbstractDefaultParameterAdapter
  21. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  22. def newConfigException (id: Symbol, parmName: String, value: AnyRef, e: Exception): ConfigurationException

    Attributes
    protected
    Definition Classes
    AbstractDefaultParameterAdapter
  23. def notify (): Unit

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

    Attributes
    final
    Definition Classes
    AnyRef
  25. def prepareUpdate (id: Symbol, conn: Connection, sql: String, expectGeneratedKeys: Boolean): PreparedStatement

  26. def registerOutParm (callInfo: ProcedureMetadata, cs: CallableStatement, parmIdx: Int, parmName: String): Unit

    Attributes
    protected
    Definition Classes
    AbstractDefaultParameterAdapter
  27. def setParameter (id: Symbol, ps: PreparedStatement, parm: Any, parmIdx: Int): Unit

    Set parameter.

    Set parameter.

    id

    The statement id

    ps

    Prepared statement

    parm

    The parameter value

    parmIdx

    The JDBC parameter index

    Definition Classes
    DefaultParameterAdapterAbstractDefaultParameterAdapter
  28. 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
    AbstractDefaultParameterAdapterParameterAdapter
  29. 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
    AbstractDefaultParameterAdapterParameterAdapter
  30. def setParm (id: Symbol, ps: PreparedStatement, name: String, value: Any, idx: Int): Any

    Attributes
    protected
    Definition Classes
    AbstractDefaultParameterAdapter
  31. 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
  32. def stateClass (e: SQLException): Option[String]

    returns

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

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

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

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from DefaultStatementAdapter

Inherited from DefaultColumnNameAdapter

Inherited from DefaultParameterAdapter

Inherited from AbstractDefaultParameterAdapter

Inherited from DefaultExceptionAdapter

Inherited from BrokerAdapter

Inherited from StatementAdapter

Inherited from ColumnNameAdapter

Inherited from ParameterAdapter

Inherited from ExceptionAdapter

Inherited from AnyRef

Inherited from Any