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(java.lang.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(java.net.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(java.lang.Class<?> clazz)
Add a managed class to be used by persistence provider.TapestryPersistenceUnitInfo
PersistenceUnitInfoImpl. addManagedClassName(java.lang.String className)
Add a managed class name to be used by persistence provider.TapestryPersistenceUnitInfo
PersistenceUnitInfoImpl. addMappingFileName(java.lang.String fileName)
Add a mapping file to be loaded by the persistence provider to determine the mappings for the entity classes.TapestryPersistenceUnitInfo
PersistenceUnitInfoImpl. addProperty(java.lang.String name, java.lang.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(java.lang.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(java.lang.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(java.lang.String persistenceProviderClassName)
Set the the fully qualified name of the persistence provider implementation class.TapestryPersistenceUnitInfo
PersistenceUnitInfoImpl. setEntityManagerProperties(java.util.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 java.util.List<TapestryPersistenceUnitInfo>
PersistenceContentHandler. getPersistenceUnits()
java.util.List<TapestryPersistenceUnitInfo>
PersistenceParser. parse(java.io.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(java.lang.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(java.net.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(java.lang.Class<?> clazz)
Add a managed class to be used by persistence provider.TapestryPersistenceUnitInfo
TapestryPersistenceUnitInfo. addManagedClassName(java.lang.String className)
Add a managed class name to be used by persistence provider.TapestryPersistenceUnitInfo
TapestryPersistenceUnitInfo. addMappingFileName(java.lang.String fileName)
Add a mapping file to be loaded by the persistence provider to determine the mappings for the entity classes.TapestryPersistenceUnitInfo
TapestryPersistenceUnitInfo. addProperty(java.lang.String name, java.lang.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(java.lang.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(java.lang.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(java.lang.String persistenceProviderClassName)
Set the the fully qualified name of the persistence provider implementation class.TapestryPersistenceUnitInfo
TapestryPersistenceUnitInfo. setEntityManagerProperties(java.util.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.
-