Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.openjpa.kernel
Interface ConnectionRetainModes

All Known Subinterfaces:
  Broker, OpenJPAEntityManager, OpenJPAEntityManagerFactory

All Known Implementing Classes:
  BrokerImpl, DelegatingBroker, EntityManagerFactoryImpl, EntityManagerImpl

    public interface ConnectionRetainModes

Connection retain mode constants.

Since:
  0.4.0
Author:
  Abe White

Field Summary
`static int` | `CONN_RETAIN_ALWAYS` Constant indicating that each broker will retain a single connection that it will use for its lifespan.
`static int` | `CONN_RETAIN_DEMAND` Constant indicating that connections will be obtained as needed.
`static int` | `CONN_RETAIN_TRANS` Constant indicating that connections will be retained for the life of each transaction.

Field Detail

### CONN_RETAIN_DEMAND

    static final int CONN_RETAIN_DEMAND

  Constant indicating that connections will be obtained as needed.

  See Also:
    Constant Field Values

### CONN_RETAIN_TRANS

    static final int CONN_RETAIN_TRANS

  Constant indicating that connections will be retained for the life of each transaction.

  See Also:
    Constant Field Values

### CONN_RETAIN_ALWAYS

    static final int CONN_RETAIN_ALWAYS

  Constant indicating that each broker will retain a single connection that it will use for its lifespan.

  See Also:
    Constant Field Values

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 Apache Software Foundation. All Rights Reserved.