Object

dbx.api

Propagation

Related Doc: package api

Permalink

object Propagation extends Enumeration

Created by sauntor on 17-3-21.

Linear Supertypes
Enumeration, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Propagation
  2. Enumeration
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Propagation = Value

    Permalink
  2. class Val extends Value with Serializable

    Permalink
    Attributes
    protected
    Definition Classes
    Enumeration
    Annotations
    @SerialVersionUID()
  3. abstract class Value extends Ordered[Value] with Serializable

    Permalink
    Definition Classes
    Enumeration
    Annotations
    @SerialVersionUID()
  4. class ValueSet extends AbstractSet[Value] with SortedSet[Value] with SortedSetLike[Value, ValueSet] with Serializable

    Permalink
    Definition Classes
    Enumeration

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. val MANDATORY: Value

    Permalink

    Support a current transaction, throw an exception if none exists.

    Support a current transaction, throw an exception if none exists. Analogous to EJB transaction attribute of the same name.

  5. val NESTED: Value

    Permalink

    Execute within a nested transaction if a current transaction exists, behave like PROPAGATION_REQUIRED else.

    Execute within a nested transaction if a current transaction exists, behave like PROPAGATION_REQUIRED else. There is no analogous feature in EJB.

    Note: Actual creation of a nested transaction will only work on specific transaction managers. Out of the box, this only applies to the JDBC DataSourceTransactionManager when working on a JDBC 3.0 driver. Some JTA providers might support nested transactions as well.

    See also

    dbx.jdbc.DataSourceTransactionManager

  6. val NEVER: Value

    Permalink

    Execute non-transactionally, throw an exception if a transaction exists.

    Execute non-transactionally, throw an exception if a transaction exists. Analogous to EJB transaction attribute of the same name.

  7. val NOT_SUPPORTED: Value

    Permalink

    Execute non-transactionally, suspend the current transaction if one exists.

    Execute non-transactionally, suspend the current transaction if one exists. Analogous to EJB transaction attribute of the same name.

    NOTE: Actual transaction suspension will not work out-of-the-box on all transaction managers. This in particular applies to dbx.transaction.jta.JtaTransactionManager, which requires the javax.transaction.TransactionManager to be made available it to it (which is server-specific in standard Java EE).

    See also

    dbx.transaction.jta.JtaTransactionManager#setTransactionManager

  8. val REQUIRED: Value

    Permalink

    Support a current transaction, create a new one if none exists.

    Support a current transaction, create a new one if none exists. Analogous to EJB transaction attribute of the same name.

    This is the default setting of a transaction annotation.

  9. val REQUIRES_NEW: Value

    Permalink

    Create a new transaction, and suspend the current transaction if one exists.

    Create a new transaction, and suspend the current transaction if one exists. Analogous to the EJB transaction attribute of the same name.

    NOTE: Actual transaction suspension will not work out-of-the-box on all transaction managers. This in particular applies to dbx.transaction.jta.JtaTransactionManager, which requires the javax.transaction.TransactionManager to be made available it to it (which is server-specific in standard Java EE).

    See also

    dbx.transaction.jta.JtaTransactionManager#setTransactionManager

  10. val SUPPORTS: Value

    Permalink

    Support a current transaction, execute non-transactionally if none exists.

    Support a current transaction, execute non-transactionally if none exists. Analogous to EJB transaction attribute of the same name.

    Note: For transaction managers with transaction synchronization, PROPAGATION_SUPPORTS is slightly different from no transaction at all, as it defines a transaction scope that synchronization will apply for. As a consequence, the same resources (JDBC Connection, Hibernate Session, etc) will be shared for the entire specified scope. Note that this depends on the actual synchronization configuration of the transaction manager.

    See also

    dbx.transaction.support.AbstractPlatformTransactionManager#setTransactionSynchronization

  11. final def Value(i: Int, name: String): Value

    Permalink
    Attributes
    protected
    Definition Classes
    Enumeration
  12. final def Value(name: String): Value

    Permalink
    Attributes
    protected
    Definition Classes
    Enumeration
  13. final def Value(i: Int): Value

    Permalink
    Attributes
    protected
    Definition Classes
    Enumeration
  14. final def Value: Value

    Permalink
    Attributes
    protected
    Definition Classes
    Enumeration
  15. final def apply(x: Int): Value

    Permalink
    Definition Classes
    Enumeration
  16. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  17. def clone(): AnyRef

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  24. final def maxId: Int

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

    Permalink
    Definition Classes
    AnyRef
  26. var nextId: Int

    Permalink
    Attributes
    protected
    Definition Classes
    Enumeration
  27. var nextName: Iterator[String]

    Permalink
    Attributes
    protected
    Definition Classes
    Enumeration
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. def readResolve(): AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    Enumeration
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toString(): String

    Permalink
    Definition Classes
    Enumeration → AnyRef → Any
  33. def values: ValueSet

    Permalink
    Definition Classes
    Enumeration
  34. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def withName(s: String): Value

    Permalink
    Definition Classes
    Enumeration

Inherited from Enumeration

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped