org.orbroker.config

BrokerConfig

class BrokerConfig extends DynamicSupport

Configuration for Broker.

Linear Supertypes
DynamicSupport, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. BrokerConfig
  2. DynamicSupport
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BrokerConfig(dataSource: DataSource)

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. var adapter: BrokerAdapter

    Compatibility adapter.

    Compatibility adapter.

    Definition Classes
    BrokerConfig → DynamicSupport
  7. def addDefaultParm(name: String, value: Any): Unit

    Add default parameter.

    Add default parameter. Default parameters are always available to a running SQL statement, but can be overridden on a per-call basis. They are mostly useful for dynamic SQL generation for specifying things like the schema, etc.

  8. def addDefaultParms(parms: Map[String, Any]): Unit

  9. var alwaysPrepare: Boolean

    Always use prepared statements.

    Always use prepared statements. If true will always use prepared statements, even when statement has no parameters.

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. var callback: ExecutionCallback

    Notifying callback.

    Notifying callback.

    Definition Classes
    BrokerConfig → DynamicSupport
  12. var catalog: String

    Optional catalog name.

  13. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. var defaultFetchSize: Int

    Default fetch size hint.

    Default fetch size hint. 0 means no hint.

  15. var defaultIsolationLevel: Option[Int]

    The default transaction isolation level.

    The default transaction isolation level. If not set, will use whatever data source provides as default. Standard values:

    • java.sql.Connection#TRANSACTION_NONE
    • java.sql.Connection#TRANSACTION_READ_UNCOMMITTED
    • java.sql.Connection#TRANSACTION_READ_COMMITTED
    • java.sql.Connection#TRANSACTION_REPEATABLE_READ
    • java.sql.Connection#TRANSACTION_SERIALIZABLE
  16. def defaultIsolationLevel_=(level: Int): Unit

  17. var defaultTimeout: Int

    Default statement execution timeout in seconds.

    Default statement execution timeout in seconds. 0 means no timeout.

  18. def dynamicStatement(id: Symbol, sql: String, sqlLines: Seq[String]): Option[SQLStatement]

    Attributes
    protected
    Definition Classes
    BrokerConfig → DynamicSupport
  19. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  28. def register(id: Symbol, sqlStatement: Reader): Unit

  29. def setUser(username: String, password: String): Unit

    Set username and password, if different from what's used by data source.

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. var trimSQL: Boolean

    Trim SQL? If true, will remove excessive whitespace and comments

    Trim SQL? If true, will remove excessive whitespace and comments

    Definition Classes
    BrokerConfig → DynamicSupport
  33. def verify(expected: Set[Symbol]): Set[Symbol]

    Verify that expected statements have been registered to this builder.

    Verify that expected statements have been registered to this builder.

    expected

    The set of expected statement ids

    returns

    Set of statements registered that was not in the set of expected statements

    Annotations
    @throws( classOf[MissingStatementException] )
    Exceptions thrown
    MissingStatementException

    when verification fails

  34. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from DynamicSupport

Inherited from AnyRef

Inherited from Any