Package | Description |
---|---|
org.apache.openjpa.persistence |
OpenJPA JPA
This package provides an JPA facade to OpenJPA.
|
Modifier and Type | Method and Description |
---|---|
static AutoDetachType |
AutoDetachType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutoDetachType[] |
AutoDetachType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
EnumSet<AutoDetachType> |
OpenJPAEntityManager.getAutoDetach()
AutoDetachType values which indicate when persistent
managed objects should be automatically detached in-place. |
EnumSet<AutoDetachType> |
EntityManagerImpl.getAutoDetach() |
static EnumSet<AutoDetachType> |
AutoDetachType.toEnumSet(int autoDetach) |
Modifier and Type | Method and Description |
---|---|
void |
OpenJPAEntityManager.setAutoDetach(AutoDetachType value)
AutoDetachType values which indicate when persistent
managed objects should be automatically detached in-place. |
void |
EntityManagerImpl.setAutoDetach(AutoDetachType flag) |
void |
OpenJPAEntityManager.setAutoDetach(AutoDetachType value,
boolean on)
Bit flags marked in
AutoDetachType which indicate when persistent
managed objects should be automatically detached in-place. |
void |
EntityManagerImpl.setAutoDetach(AutoDetachType value,
boolean on) |
Modifier and Type | Method and Description |
---|---|
static int |
AutoDetachType.fromEnumSet(EnumSet<AutoDetachType> types) |
void |
OpenJPAEntityManager.setAutoDetach(EnumSet<AutoDetachType> values)
AutoDetachType values which indicate when persistent
managed objects should be automatically detached in-place. |
void |
EntityManagerImpl.setAutoDetach(EnumSet<AutoDetachType> flags) |
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.