Package | Description |
---|---|
org.apache.tapestry5.internal.jpa |
[INTERNAL USE ONLY] support classes for the JPA module; API subject to change
|
org.apache.tapestry5.jpa |
Provides support for simple CRUD applications built on top of Tapestry and JPA
|
Modifier and Type | Class and Description |
---|---|
class |
PersistenceUnitInfoImpl |
Modifier and Type | Method and Description |
---|---|
TapestryPersistenceUnitInfo |
PersistenceUnitInfoImpl.addJarFileUrl(String url)
Add a URLs for the jar file or exploded jar file directory that the persistence provider must examine
for managed classes of the persistence unit.
|
TapestryPersistenceUnitInfo |
PersistenceUnitInfoImpl.addJarFileUrl(URL url)
Add a URLs for the jar file or exploded jar file directory that the persistence provider must examine
for managed classes of the persistence unit.
|
TapestryPersistenceUnitInfo |
PersistenceUnitInfoImpl.addManagedClass(Class<?> clazz)
Add a managed class to be used by persistence provider.
|
TapestryPersistenceUnitInfo |
PersistenceUnitInfoImpl.addManagedClassName(String className)
Add a managed class name to be used by persistence provider.
|
TapestryPersistenceUnitInfo |
PersistenceUnitInfoImpl.addMappingFileName(String fileName)
Add a mapping file to be loaded by the persistence provider to determine the mappings for
the entity classes.
|
TapestryPersistenceUnitInfo |
PersistenceUnitInfoImpl.addProperty(String name,
String value)
Add a property.
|
TapestryPersistenceUnitInfo |
PersistenceUnitInfoImpl.excludeUnlistedClasses(boolean exclude)
Defines whether classes in the root of the persistence unit that have not been explicitly listed
are to be included in the set of managed classes.
|
TapestryPersistenceUnitInfo |
PersistenceUnitInfoImpl.jtaDataSource(String jtaDataSource)
Set the JTA-enabled data source to be used by the persistence provider for accessing data outside a JTA
transaction.
|
TapestryPersistenceUnitInfo |
PersistenceUnitInfoImpl.nonJtaDataSource(String nonJtaDataSource)
Set the non-JTA-enabled data source to be used by the persistence provider for accessing data outside a JTA
transaction.
|
TapestryPersistenceUnitInfo |
PersistenceUnitInfoImpl.persistenceProviderClassName(String persistenceProviderClassName)
Set the the fully qualified name of the persistence provider implementation class.
|
TapestryPersistenceUnitInfo |
PersistenceUnitInfoImpl.setEntityManagerProperties(Map properties) |
TapestryPersistenceUnitInfo |
PersistenceUnitInfoImpl.sharedCacheMode(SharedCacheMode cacheMode)
Defines how the persistence provider must use a second-level cache for the persistence unit.
|
TapestryPersistenceUnitInfo |
PersistenceUnitInfoImpl.transactionType(PersistenceUnitTransactionType transactionType)
Set the transaction type of the entity managers.
|
TapestryPersistenceUnitInfo |
PersistenceUnitInfoImpl.validationMode(ValidationMode validationMode)
Set the validation mode to be used by the persistence provider for the persistence unit.
|
Modifier and Type | Method and Description |
---|---|
List<TapestryPersistenceUnitInfo> |
PersistenceContentHandler.getPersistenceUnits() |
List<TapestryPersistenceUnitInfo> |
PersistenceParser.parse(InputStream stream) |
Modifier and Type | Method and Description |
---|---|
void |
PackageNamePersistenceUnitConfigurer.configure(TapestryPersistenceUnitInfo unitInfo)
Configures a persistence unit.
|
Modifier and Type | Method and Description |
---|---|
TapestryPersistenceUnitInfo |
TapestryPersistenceUnitInfo.addJarFileUrl(String url)
Add a URLs for the jar file or exploded jar file directory that the persistence provider must examine
for managed classes of the persistence unit.
|
TapestryPersistenceUnitInfo |
TapestryPersistenceUnitInfo.addJarFileUrl(URL url)
Add a URLs for the jar file or exploded jar file directory that the persistence provider must examine
for managed classes of the persistence unit.
|
TapestryPersistenceUnitInfo |
TapestryPersistenceUnitInfo.addManagedClass(Class<?> clazz)
Add a managed class to be used by persistence provider.
|
TapestryPersistenceUnitInfo |
TapestryPersistenceUnitInfo.addManagedClassName(String className)
Add a managed class name to be used by persistence provider.
|
TapestryPersistenceUnitInfo |
TapestryPersistenceUnitInfo.addMappingFileName(String fileName)
Add a mapping file to be loaded by the persistence provider to determine the mappings for
the entity classes.
|
TapestryPersistenceUnitInfo |
TapestryPersistenceUnitInfo.addProperty(String name,
String value)
Add a property.
|
TapestryPersistenceUnitInfo |
TapestryPersistenceUnitInfo.excludeUnlistedClasses(boolean exclude)
Defines whether classes in the root of the persistence unit that have not been explicitly listed
are to be included in the set of managed classes.
|
TapestryPersistenceUnitInfo |
TapestryPersistenceUnitInfo.jtaDataSource(String jtaDataSource)
Set the JTA-enabled data source to be used by the persistence provider for accessing data outside a JTA
transaction.
|
TapestryPersistenceUnitInfo |
TapestryPersistenceUnitInfo.nonJtaDataSource(String nonJtaDataSource)
Set the non-JTA-enabled data source to be used by the persistence provider for accessing data outside a JTA
transaction.
|
TapestryPersistenceUnitInfo |
TapestryPersistenceUnitInfo.persistenceProviderClassName(String persistenceProviderClassName)
Set the the fully qualified name of the persistence provider implementation class.
|
TapestryPersistenceUnitInfo |
TapestryPersistenceUnitInfo.setEntityManagerProperties(Map properties)
PersistenceProvider allows creating an EntityManagerFactory
with a default EntityManager properties map. |
TapestryPersistenceUnitInfo |
TapestryPersistenceUnitInfo.sharedCacheMode(SharedCacheMode cacheMode)
Defines how the persistence provider must use a second-level cache for the persistence unit.
|
TapestryPersistenceUnitInfo |
TapestryPersistenceUnitInfo.transactionType(PersistenceUnitTransactionType transactionType)
Set the transaction type of the entity managers.
|
TapestryPersistenceUnitInfo |
TapestryPersistenceUnitInfo.validationMode(ValidationMode validationMode)
Set the validation mode to be used by the persistence provider for the persistence unit.
|
Modifier and Type | Method and Description |
---|---|
void |
PersistenceUnitConfigurer.configure(TapestryPersistenceUnitInfo unitInfo)
Configures a persistence unit.
|
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.