EntityManager and provider specific configuration objectJpaProviderSupport for Oracle EclipseLink JPAConfiguration
- getDatabaseModule() - Method in class org.unitils.orm.common.OrmModule
-
- getDatabaseModule() - Method in class org.unitils.orm.hibernate.util.HibernateSessionFactoryLoader
-
- getDatabaseModule() - Method in class org.unitils.orm.jpa.util.JpaEntityManagerFactoryLoader
-
- getDatabaseName(Object, Method) - Method in class org.unitils.orm.common.OrmModule
-
- getDatabaseName(Object, Method) - Method in class org.unitils.orm.hibernate.HibernateModule
-
- getDatabaseName(Object, Method) - Method in class org.unitils.orm.jpa.JpaModule
-
- getDataSource() - Method in class org.unitils.orm.hibernate.HibernateModule
-
- getDataSource() - Method in class org.unitils.orm.hibernate.util.HibernateSessionFactoryLoader
-
- getDataSource() - Method in class org.unitils.orm.jpa.JpaModule
-
- getDataSource() - Method in class org.unitils.orm.jpa.util.JpaEntityManagerFactoryLoader
-
- getEntityManager() - Static method in class org.unitils.orm.jpa.JpaUnitils
-
- getEntityManagerFactory() - Static method in class org.unitils.orm.jpa.JpaUnitils
-
- getEntityManagerFactoryBean(Object) - Method in class org.unitils.orm.jpa.util.spring.JpaSpringSupport
-
- getHibernateConfiguration() - Method in class org.unitils.orm.jpa.util.provider.hibernate.UnitilsHibernatePersistenceProvider
-
Should not be used until after creating the
EntityManagerFactory using
UnitilsHibernatePersistenceProvider.createContainerEntityManagerFactory(javax.persistence.spi.PersistenceUnitInfo, java.util.Map)
- getHibernateDatabaseDialect(Ejb3Configuration) - Method in class org.unitils.orm.jpa.util.provider.hibernate.HibernateJpaProviderSupport
-
Gets the database dialect from the Hibernate
Ejb3Configuration
- getHibernateModule() - Method in class org.unitils.orm.hibernate.util.HibernateSessionFactoryLoader
-
- getJpaModule() - Method in class org.unitils.orm.jpa.util.JpaEntityManagerFactoryLoader
-
- getJpaModule() - Method in class org.unitils.orm.jpa.util.spring.JpaSpringSupport
-
- getJpaProviderSupport() - Method in class org.unitils.orm.jpa.JpaModule
-
- getJpaProviderSupport() - Method in class org.unitils.orm.jpa.util.JpaEntityManagerFactoryLoader
-
- getLoadTimeWeaver() - Method in interface org.unitils.orm.jpa.util.JpaProviderSupport
-
If necessary for this JPA provider, return an instance of spring's
LoadTimeWeaver interface, that
will be set on the LocalContainerEntityManagerFactoryBean before creating the EntityManagerFactory
- getLoadTimeWeaver() - Method in class org.unitils.orm.jpa.util.provider.eclipselink.EclipseLinkJpaProviderSupport
-
- getLoadTimeWeaver() - Method in class org.unitils.orm.jpa.util.provider.hibernate.HibernateJpaProviderSupport
-
- getLoadTimeWeaver() - Method in class org.unitils.orm.jpa.util.provider.openjpa.OpenJpaProviderSupport
-
- getLoadTimeWeaver() - Method in class org.unitils.orm.jpa.util.provider.toplink.ToplinkJpaProviderSupport
-
- getOrmConfigurationObject() - Method in class org.unitils.orm.common.util.ConfiguredOrmPersistenceUnit
-
- getOrmPersistenceUnit() - Method in class org.unitils.orm.common.util.ConfiguredOrmPersistenceUnit
-
- getOrmSpringSupportImplClassName() - Method in class org.unitils.orm.common.OrmModule
-
- getOrmSpringSupportImplClassName() - Method in class org.unitils.orm.hibernate.HibernateModule
-
- getOrmSpringSupportImplClassName() - Method in class org.unitils.orm.jpa.JpaModule
-
- getPersistenceContext(Object) - Method in class org.unitils.orm.common.OrmModule
-
Returns an implementation specific persistence context, which is associated with the current transaction.
- getPersistenceProvider() - Method in class org.unitils.orm.jpa.util.provider.hibernate.UnitilsHibernateJpaVendorAdapter
-
- getPersistenceUnit(Object) - Method in class org.unitils.orm.common.OrmModule
-
Returns a configured ORM persistence unit for the given test object.
- getPersistenceUnitClass() - Method in class org.unitils.orm.common.OrmModule
-
- getPersistenceUnitClass() - Method in class org.unitils.orm.hibernate.HibernateModule
-
- getPersistenceUnitClass() - Method in class org.unitils.orm.jpa.JpaModule
-
- getPersistenceUnitConfig(Object) - Method in class org.unitils.orm.common.OrmModule
-
- getPersistenceUnitConfigAnnotationClass() - Method in class org.unitils.orm.common.OrmModule
-
- getPersistenceUnitConfigAnnotationClass() - Method in class org.unitils.orm.hibernate.HibernateModule
-
- getPersistenceUnitConfigAnnotationClass() - Method in class org.unitils.orm.jpa.JpaModule
-
- getPersistenceUnitName() - Method in class org.unitils.orm.jpa.util.JpaConfig
-
- getProviderSpecificConfigurationObject(PersistenceProvider) - Method in interface org.unitils.orm.jpa.util.JpaProviderSupport
-
- getProviderSpecificConfigurationObject(PersistenceProvider) - Method in class org.unitils.orm.jpa.util.provider.eclipselink.EclipseLinkJpaProviderSupport
-
- getProviderSpecificConfigurationObject(PersistenceProvider) - Method in class org.unitils.orm.jpa.util.provider.hibernate.HibernateJpaProviderSupport
-
- getProviderSpecificConfigurationObject(PersistenceProvider) - Method in class org.unitils.orm.jpa.util.provider.openjpa.OpenJpaProviderSupport
-
- getProviderSpecificConfigurationObject(PersistenceProvider) - Method in class org.unitils.orm.jpa.util.provider.toplink.ToplinkJpaProviderSupport
-
- getResourceConfig(Class<?>) - Method in class org.unitils.util.AnnotationConfigLoader
-
- getSession() - Static method in class org.unitils.orm.hibernate.HibernateUnitils
-
- getSessionFactory() - Static method in class org.unitils.orm.hibernate.HibernateUnitils
-
- getSessionFactoryBean(Object) - Method in class org.unitils.orm.hibernate.util.HibernateSpringSupport
-
- getSpringJpaVendorAdaptor() - Method in interface org.unitils.orm.jpa.util.JpaProviderSupport
-
- getSpringJpaVendorAdaptor() - Method in class org.unitils.orm.jpa.util.provider.eclipselink.EclipseLinkJpaProviderSupport
-
- getSpringJpaVendorAdaptor() - Method in class org.unitils.orm.jpa.util.provider.hibernate.HibernateJpaProviderSupport
-
- getSpringJpaVendorAdaptor() - Method in class org.unitils.orm.jpa.util.provider.openjpa.OpenJpaProviderSupport
-
- getSpringJpaVendorAdaptor() - Method in class org.unitils.orm.jpa.util.provider.toplink.ToplinkJpaProviderSupport
-
- getSpringModule() - Method in class org.unitils.orm.hibernate.util.HibernateSpringSupport
-
- getSpringModule() - Method in class org.unitils.orm.jpa.util.spring.JpaSpringSupport
-
- getTestListener() - Method in class org.unitils.orm.hibernate.HibernateModule
-
- getTestListener() - Method in class org.unitils.orm.jpa.JpaModule
-
H
- hashCode() - Method in class org.unitils.orm.common.util.OrmConfig
-
- hashCode() - Method in class org.unitils.orm.jpa.util.JpaConfig
-
- HibernateAnnotationConfigLoader - Class in org.unitils.orm.hibernate.util
-
- HibernateAnnotationConfigLoader() - Constructor for class org.unitils.orm.hibernate.util.HibernateAnnotationConfigLoader
-
- HibernateAssert - Class in org.unitils.orm.hibernate.util
-
Assert class that offers assert methods for testing things that are specific to Hibernate.
- HibernateAssert() - Constructor for class org.unitils.orm.hibernate.util.HibernateAssert
-
- HibernateJpaProviderSupport - Class in org.unitils.orm.jpa.util.provider.hibernate
-
Implementation of
JpaProviderSupport for hibernate JPA
- HibernateJpaProviderSupport() - Constructor for class org.unitils.orm.jpa.util.provider.hibernate.HibernateJpaProviderSupport
-
- HibernateModule - Class in org.unitils.orm.hibernate
-
Module providing support for unit tests for code that uses Hibernate.
- HibernateModule() - Constructor for class org.unitils.orm.hibernate.HibernateModule
-
- HibernateModule.HibernateTestListener - Class in org.unitils.orm.hibernate
-
The
TestListener for this module
- HibernateSessionFactory - Annotation Type in org.unitils.orm.hibernate.annotation
-
Annotation that can be used for configuring a hibernate
SessionFactory on a test class.
- HibernateSessionFactoryLoader - Class in org.unitils.orm.hibernate.util
-
- HibernateSessionFactoryLoader(String) - Constructor for class org.unitils.orm.hibernate.util.HibernateSessionFactoryLoader
-
- HibernateSpringSupport - Class in org.unitils.orm.hibernate.util
-
A support class containing Hibernate and
HibernateModule related actions for the SpringModule.
- HibernateSpringSupport() - Constructor for class org.unitils.orm.hibernate.util.HibernateSpringSupport
-
- HibernateTestListener() - Constructor for class org.unitils.orm.hibernate.HibernateModule.HibernateTestListener
-
- HibernateUnitils - Class in org.unitils.orm.hibernate
-
Utility facade for handling Hibernate related stuff such as asserting whether the mappings correspond to the actual
structure of the database.
- HibernateUnitils() - Constructor for class org.unitils.orm.hibernate.HibernateUnitils
-
I
- init(Properties) - Method in class org.unitils.orm.common.OrmModule
-
- init(Properties) - Method in class org.unitils.orm.hibernate.HibernateModule
-
- init(Properties) - Method in class org.unitils.orm.jpa.JpaModule
-
- initOrmSpringSupport() - Method in class org.unitils.orm.common.OrmModule
-
Creates an instance of
OrmSpringSupport, that
implements the dependency to the SpringModule.
- injectEntityManager(Object, Object) - Method in class org.unitils.orm.jpa.JpaModule
-
Injects the currently active JPA
EntityManager into all fields and methods that are
annotated with javax.persistence.PersistenceContext
- injectEntityManagerFactory(Object, Object) - Method in class org.unitils.orm.jpa.JpaModule
-
Injects the JPA
EntityManagerFactory into all fields and methods that are
annotated with javax.persistence.PersistenceUnit
- injectEntityManagerInto(Object) - Static method in class org.unitils.orm.jpa.JpaUnitils
-
For the given target object, injects the active, transactional
EntityManager into
fields or methods annotated with javax.persistence.PersistenceContext
- injectJpaResourcesInto(Object, Object) - Method in class org.unitils.orm.jpa.JpaModule
-
Injects the
EntityManagerFactory and currently active EntityManager into fields
or methods of the given target object annotated with javax.persistence.PersistenceUnit or
javax.persistence.PersistenceContext, respectively.
- injectJpaResourcesIntoTestObject(Object) - Method in class org.unitils.orm.jpa.JpaModule
-
Injects the currently configured
EntityManagerFactory and currently active
EntityManager into fields or methods or the test object annotated with
javax.persistence.PersistenceUnit or javax.persistence.PersistenceContext,
respectively.
- injectOrmPersistenceUnitIntoTestObject(Object) - Method in class org.unitils.orm.common.OrmModule
-
Injects the persistence unit object into all fields and methods that are annotated with the annotation
defined by
OrmModule.getPersistenceUnitConfigAnnotationClass()
- isConfiguringAnnotation(HibernateSessionFactory) - Method in class org.unitils.orm.hibernate.util.HibernateAnnotationConfigLoader
-
- isConfiguringAnnotation(JpaEntityManagerFactory) - Method in class org.unitils.orm.jpa.util.JpaAnnotationConfigLoader
-
- isConfiguringAnnotation(A) - Method in class org.unitils.util.AnnotationConfigLoader
-
- isCustomConfigMethod(Method) - Method in class org.unitils.orm.hibernate.util.HibernateAnnotationConfigLoader
-
- isCustomConfigMethod(Method) - Method in class org.unitils.orm.jpa.util.JpaAnnotationConfigLoader
-
- isCustomConfigMethod(Method) - Method in class org.unitils.util.AnnotationConfigLoader
-
- isPersistenceUnitConfiguredFor(Object) - Method in class org.unitils.orm.common.OrmModule
-
Indicates whether an ORM persistence unit has been configured for the given testObject.
- isPersistenceUnitConfiguredInSpring(Object) - Method in interface org.unitils.orm.common.spring.OrmSpringSupport
-
- isPersistenceUnitConfiguredInSpring(Object) - Method in class org.unitils.orm.hibernate.util.HibernateSpringSupport
-
- isPersistenceUnitConfiguredInSpring(Object) - Method in class org.unitils.orm.jpa.util.spring.JpaSpringSupport
-
- isSpringModuleEnabled() - Method in class org.unitils.orm.common.OrmModule
-
Verifies whether the SpringModule is enabled.
J
- JpaAnnotationConfigLoader - Class in org.unitils.orm.jpa.util
-
AnnotationConfigLoader that looks an EntityManagerFactory configured using
JpaEntityManagerFactory anntations.
- JpaAnnotationConfigLoader() - Constructor for class org.unitils.orm.jpa.util.JpaAnnotationConfigLoader
-
- JpaConfig - Class in org.unitils.orm.jpa.util
-
Value object representing a test object's configuration of a JPA
EntityManagerFactory
- JpaConfig(String, String, Method) - Constructor for class org.unitils.orm.jpa.util.JpaConfig
-
Creates a new instance
- JpaEntityManagerFactory - Annotation Type in org.unitils.orm.jpa.annotation
-
This annotation can be used in three different ways:
If the persistenceUnit and optionally the configFile attributes are specified, its goal is to specify
EntityManagerFactory configuration parameters.
- JpaEntityManagerFactoryLoader - Class in org.unitils.orm.jpa.util
-
Loads an
EntityManagerFactory given a JpaConfig object
- JpaEntityManagerFactoryLoader(String) - Constructor for class org.unitils.orm.jpa.util.JpaEntityManagerFactoryLoader
-
- JpaModule - Class in org.unitils.orm.jpa
-
Module providing support for unit tests for code that uses JPA.
- JpaModule() - Constructor for class org.unitils.orm.jpa.JpaModule
-
Constructor for JpaModule.
- JpaModule.JpaTestListener - Class in org.unitils.orm.jpa
-
The
TestListener for this module
- jpaProviderSupport - Variable in class org.unitils.orm.jpa.JpaModule
-
Implements provider specific operations
- JpaProviderSupport - Interface in org.unitils.orm.jpa.util
-
Defines the contract for implementations that implement any provider specific operations that unitils needs
to implement the
JpaModules functionality.
- JpaSpringSupport - Class in org.unitils.orm.jpa.util.spring
-
Implementation of
OrmSpringSupport for JPA.
- JpaSpringSupport() - Constructor for class org.unitils.orm.jpa.util.spring.JpaSpringSupport
-
- JpaTestListener() - Constructor for class org.unitils.orm.jpa.JpaModule.JpaTestListener
-
- JpaUnitils - Class in org.unitils.orm.jpa
-
Utility facade for handling JPA related stuff such as asserting whether the mappings correspond to the actual
structure of the database.
- JpaUnitils() - Constructor for class org.unitils.orm.jpa.JpaUnitils
-
L
- loadResourceConfig(Object) - Method in class org.unitils.util.AnnotationConfigLoader
-
Loads the resource configuration for the given test object
O
- OpenJpaProviderSupport - Class in org.unitils.orm.jpa.util.provider.openjpa
-
Implementation of
JpaProviderSupport for Oracle Toplink JPA
- OpenJpaProviderSupport() - Constructor for class org.unitils.orm.jpa.util.provider.openjpa.OpenJpaProviderSupport
-
- org.unitils.orm.common - package org.unitils.orm.common
-
- org.unitils.orm.common.spring - package org.unitils.orm.common.spring
-
- org.unitils.orm.common.util - package org.unitils.orm.common.util
-
- org.unitils.orm.hibernate - package org.unitils.orm.hibernate
-
- org.unitils.orm.hibernate.annotation - package org.unitils.orm.hibernate.annotation
-
- org.unitils.orm.hibernate.util - package org.unitils.orm.hibernate.util
-
- org.unitils.orm.jpa - package org.unitils.orm.jpa
-
- org.unitils.orm.jpa.annotation - package org.unitils.orm.jpa.annotation
-
- org.unitils.orm.jpa.util - package org.unitils.orm.jpa.util
-
- org.unitils.orm.jpa.util.provider.eclipselink - package org.unitils.orm.jpa.util.provider.eclipselink
-
- org.unitils.orm.jpa.util.provider.hibernate - package org.unitils.orm.jpa.util.provider.hibernate
-
- org.unitils.orm.jpa.util.provider.openjpa - package org.unitils.orm.jpa.util.provider.openjpa
-
- org.unitils.orm.jpa.util.provider.toplink - package org.unitils.orm.jpa.util.provider.toplink
-
- org.unitils.orm.jpa.util.spring - package org.unitils.orm.jpa.util.spring
-
- org.unitils.util - package org.unitils.util
-
- OrmConfig - Class in org.unitils.orm.common.util
-
Object wrapping all configuration needed for defining a persistence unit for a test object
- OrmConfig(Set<String>, Method) - Constructor for class org.unitils.orm.common.util.OrmConfig
-
Creates a new instance
- OrmModule<ORM_PERSISTENCE_UNIT,ORM_PERSISTENCE_CONTEXT,PROVIDER_CONFIGURATION_OBJECT,PERSISTENCE_UNIT_CONFIG_ANNOTATION extends Annotation,ORM_CONFIG extends OrmConfig,ORM_PERSISTENCE_UNIT_CONFIG_LOADER extends ResourceConfigLoader<ORM_CONFIG>> - Class in org.unitils.orm.common
-
Base module defining common behavior for a module that provides object relational mapping support for tests.
- OrmModule() - Constructor for class org.unitils.orm.common.OrmModule
-
- OrmModule.OrmTestListener - Class in org.unitils.orm.common
-
The
TestListener for this module
- ormPersistenceUnitLoader - Variable in class org.unitils.orm.common.OrmModule
-
Class that loads the persistence unit, given an object extending
OrmConfig
- OrmPersistenceUnitLoader<ORMPU,ORMCONFOBJ,ORMCFG extends OrmConfig> - Interface in org.unitils.orm.common.util
-
Defines the contract for implementations that can load a persistence unit given a persistence unit configuration object.
- ormSpringSupport - Variable in class org.unitils.orm.common.OrmModule
-
Support class that enables getting a configured persistence unit from a spring ApplicationContext configured in
unitils.
- OrmSpringSupport<ORMPU,ORMCONFOBJ> - Interface in org.unitils.orm.common.spring
-
Defines the contract for implementations that retrieve an ORM persistence unit from the spring
ApplicationContext that is configured for this class (if any)
- OrmTestListener() - Constructor for class org.unitils.orm.common.OrmModule.OrmTestListener
-
P
- persistenceUnitConfigLoader - Variable in class org.unitils.orm.common.OrmModule
-
Class that loads the persistence unit configuration
- postProcessConfiguration(Configuration) - Method in class org.unitils.orm.hibernate.util.UnitilsLocalSessionFactoryBean
-
- PROPKEY_CONFIGURATION_CLASS_NAME - Static variable in class org.unitils.orm.hibernate.HibernateModule
-
- PROPKEY_PERSISTENCE_PROVIDER - Static variable in class org.unitils.orm.jpa.JpaModule
-
R
- registerTransactionManagementConfiguration() - Method in class org.unitils.orm.hibernate.HibernateModule
-
- registerTransactionManagementConfiguration() - Method in class org.unitils.orm.jpa.JpaModule
-
S
- setCustomConfigMethod(Method) - Method in class org.unitils.orm.hibernate.util.UnitilsLocalSessionFactoryBean
-
- setTestObject(Object) - Method in class org.unitils.orm.hibernate.util.UnitilsLocalSessionFactoryBean
-
T
- ToplinkJpaProviderSupport - Class in org.unitils.orm.jpa.util.provider.toplink
-
Implementation of
JpaProviderSupport for Oracle Toplink JPA
- ToplinkJpaProviderSupport() - Constructor for class org.unitils.orm.jpa.util.provider.toplink.ToplinkJpaProviderSupport
-
U
- UnitilsHibernateJpaVendorAdapter - Class in org.unitils.orm.jpa.util.provider.hibernate
-
Custom implementation of spring's
HibernateJpaVendorAdapter that supplies a custom
subclass of HibernatePeristence as PersistenceProvider for hibernate JPA.
- UnitilsHibernateJpaVendorAdapter() - Constructor for class org.unitils.orm.jpa.util.provider.hibernate.UnitilsHibernateJpaVendorAdapter
-
- UnitilsHibernatePersistenceProvider - Class in org.unitils.orm.jpa.util.provider.hibernate
-
Subclass of hibernate's own implementation of
javax.persistence.spi.PersistenceProvider.
- UnitilsHibernatePersistenceProvider() - Constructor for class org.unitils.orm.jpa.util.provider.hibernate.UnitilsHibernatePersistenceProvider
-
- UnitilsLocalSessionFactoryBean - Class in org.unitils.orm.hibernate.util
-
- UnitilsLocalSessionFactoryBean() - Constructor for class org.unitils.orm.hibernate.util.UnitilsLocalSessionFactoryBean
-
W
A B C D E F G H I J L O P R S T U W
Copyright © 2017. All rights reserved.