net.sf.easyweb4j.repository.orm.jpa
Annotation Type UsePersistenceUnit
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface UsePersistenceUnit
Sepecifies the PersistenceUnit whose EntityManager is to be used in the
repository.
- Author:
- Chandra Sekar S
Required Element Summary |
String |
value
The name of the PersistenceUnit to be used as specified in
/repositories.properties. |
value
public abstract String value
- The name of the PersistenceUnit to be used as specified in
/repositories.properties.
- Returns:
- Name of the PersistenceUnit.
Copyright © 2009-2010 Chandra Sekar S. All Rights Reserved.