Uses of Interface
org.apache.tapestry5.jpa.TapestryPersistenceUnitInfo
-
Packages that use TapestryPersistenceUnitInfo Package Description org.apache.tapestry5.internal.jpa [INTERNAL USE ONLY] support classes for the JPA module; API subject to changeorg.apache.tapestry5.jpa Provides support for simple CRUD applications built on top of Tapestry and JPA -
-
Uses of TapestryPersistenceUnitInfo in org.apache.tapestry5.internal.jpa
Classes in org.apache.tapestry5.internal.jpa that implement TapestryPersistenceUnitInfo Modifier and Type Class Description class
PersistenceUnitInfoImpl
Methods in org.apache.tapestry5.internal.jpa that return TapestryPersistenceUnitInfo Modifier and Type Method 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.Methods in org.apache.tapestry5.internal.jpa that return types with arguments of type TapestryPersistenceUnitInfo Modifier and Type Method Description List<TapestryPersistenceUnitInfo>
PersistenceContentHandler. getPersistenceUnits()
List<TapestryPersistenceUnitInfo>
PersistenceParser. parse(InputStream stream)
Methods in org.apache.tapestry5.internal.jpa with parameters of type TapestryPersistenceUnitInfo Modifier and Type Method Description void
PackageNamePersistenceUnitConfigurer. configure(TapestryPersistenceUnitInfo unitInfo)
Configures a persistence unit. -
Uses of TapestryPersistenceUnitInfo in org.apache.tapestry5.jpa
Methods in org.apache.tapestry5.jpa that return TapestryPersistenceUnitInfo Modifier and Type Method 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 anEntityManagerFactory
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.Methods in org.apache.tapestry5.jpa with parameters of type TapestryPersistenceUnitInfo Modifier and Type Method Description void
PersistenceUnitConfigurer. configure(TapestryPersistenceUnitInfo unitInfo)
Configures a persistence unit.
-