|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
Expresses a dependency on an EntityManager
persistence context.
Optional Element Summary | |
---|---|
String |
name
The name by which the entity manager is to be accessed in the environment referencing context, and is not needed when dependency injection is used. |
PersistenceProperty[] |
properties
Used to specify properties for the container or persistence provider. |
PersistenceContextType |
type
Specifies whether this is a transaction-scoped persistence context or an extended persistence context. |
String |
unitName
The name of the persistence unit. |
public abstract String name
public abstract String unitName
public abstract PersistenceContextType type
public abstract PersistenceProperty[] properties
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.