Uses of Class org.hibernate.cfg.Configuration (Hibernate JavaDocs)
Date: 2012-04-05

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.hibernate.cfg.Configuration

Packages that use Configuration
org.hibernate.cfg | This package defines APIs for configuring Hibernate, and classes for building the Hibernate configuration-time metamodel.
org.hibernate.cfg.beanvalidation |
org.hibernate.ejb |
org.hibernate.ejb.event |
org.hibernate.envers.ant |
org.hibernate.envers.configuration |
org.hibernate.envers.configuration.metadata |
org.hibernate.envers.event |
org.hibernate.event.service.internal |
org.hibernate.integrator.spi |
org.hibernate.internal | An internal package containing mostly implementations of central Hibernate APIs.
org.hibernate.persister.collection | This package abstracts the persistence mechanism for collections.
org.hibernate.persister.internal |
org.hibernate.persister.spi |
org.hibernate.service.internal |
org.hibernate.service.spi |
org.hibernate.stat.internal |
org.hibernate.testing.junit4 |
org.hibernate.tool |
org.hibernate.tool.hbm2ddl | The `hbm2ddl` tool.

Uses of Configuration in org.hibernate.cfg

Subclasses of Configuration in org.hibernate.cfg
`class` | `AnnotationConfiguration` Deprecated. All functionality has been moved to `Configuration`

Methods in org.hibernate.cfg that return Configuration
`Configuration` | `Configuration.addAnnotatedClass(Class annotatedClass)` Read metadata from the annotations associated with this class.
`Configuration` | `Configuration.addCacheableFile(File xmlFile)` Add a cached mapping file.
`Configuration` | `Configuration.addCacheableFile(String xmlFile)` Add a cacheable mapping file.
`Configuration` | `Configuration.addCacheableFileStrictly(File xmlFile)` INTENDED FOR TESTSUITE USE ONLY! Much like `addCacheableFile(File)` except that here we will fail immediately if the cache version cannot be found or used for whatever reason
`Configuration` | `Configuration.addClass(Class persistentClass)` Read a mapping as an application resource using the convention that a class named `foo.bar.Foo` is mapped by a file `foo/bar/Foo.hbm.xml` which can be resolved as a classpath resource.
`Configuration` | `Configuration.addDirectory(File dir)` Read all mapping documents from a directory tree.
`Configuration` | `Configuration.addDocument(Document doc)` Read mappings from a DOM `Document`
`Configuration` | `Configuration.addFile(File xmlFile)` Read mappings from a particular XML file
`Configuration` | `Configuration.addFile(String xmlFile)` Read mappings from a particular XML file
`Configuration` | `Configuration.addInputStream(InputStream xmlInputStream)` Read mappings from an `InputStream`.
`Configuration` | `Configuration.addJar(File jar)` Read all mappings from a jar file Assumes that any file named `*.hbm.xml` is a mapping document.
`Configuration` | `Configuration.addPackage(String packageName)` Read package-level metadata.
`Configuration` | `Configuration.addProperties(Properties extraProperties)` Add the given properties to ours.
`Configuration` | `Configuration.addResource(String resourceName)` Read mappings as a application resourceName (i.e.
`Configuration` | `Configuration.addResource(String resourceName, ClassLoader classLoader)` Read mappings as a application resource (i.e.
`Configuration` | `Configuration.addURL(URL url)` Read mappings from a `URL`
`Configuration` | `Configuration.addXML(String xml)` Read mappings from a `String`
`protected Configuration` | `ExternalSessionFactoryConfig.buildConfiguration()`
`Configuration` | `Configuration.configure()` Use the mappings and properties specified in an application resource named `hibernate.cfg.xml`.
`Configuration` | `Configuration.configure(Document document)` Use the mappings and properties specified in the given XML document.
`Configuration` | `Configuration.configure(File configFile)` Use the mappings and properties specified in the given application file.
`Configuration` | `Configuration.configure(String resource)` Use the mappings and properties specified in the given application resource.
`Configuration` | `Configuration.configure(URL url)` Use the mappings and properties specified in the given document.
`protected Configuration` | `Configuration.doConfigure(org.dom4j.Document doc)` Parse a dom4j document conforming to the Hibernate Configuration DTD (`hibernate-configuration-3.0.dtd`) and use its information to configure this `Configuration`'s state
`protected Configuration` | `Configuration.doConfigure(InputStream stream, String resourceName)` Configure this configuration's state from the contents of the given input stream.
`Configuration` | `Configuration.mergeProperties(Properties properties)` Adds the incoming properties to the internal properties structure, as long as the internal structure does not already contain an entry for the given key.
`Configuration` | `Configuration.setCacheConcurrencyStrategy(String entityName, String concurrencyStrategy)` Set up a cache for an entity class
`Configuration` | `Configuration.setCacheConcurrencyStrategy(String entityName, String concurrencyStrategy, String region)` Set up a cache for an entity class, giving an explicit region name
`Configuration` | `Configuration.setCollectionCacheConcurrencyStrategy(String collectionRole, String concurrencyStrategy)` Set up a cache for a collection role
`Configuration` | `Configuration.setInterceptor(Interceptor interceptor)` Set the current `Interceptor`
`Configuration` | `Configuration.setNamingStrategy(NamingStrategy namingStrategy)` Set a custom naming strategy
`Configuration` | `Configuration.setProperties(Properties properties)` Specify a completely new set of properties
`Configuration` | `Configuration.setProperty(String propertyName, String value)` Set a property value by name

Uses of Configuration in org.hibernate.cfg.beanvalidation

Methods in org.hibernate.cfg.beanvalidation with parameters of type Configuration
`void` | `BeanValidationEventListener.initialize(Configuration cfg)`
`void` | `BeanValidationIntegrator.integrate(Configuration configuration, SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry)`

Uses of Configuration in org.hibernate.ejb

Methods in org.hibernate.ejb that return Configuration
`Configuration` | `Ejb3Configuration.getHibernateConfiguration()` Deprecated. This API is intended to give a read-only configuration.

Methods in org.hibernate.ejb with parameters of type Configuration
`protected org.hibernate.ejb.EntityManagerFactoryImpl.JpaMetaModelPopulationSetting` | `EntityManagerFactoryImpl.determineJpaMetaModelPopulationSetting(Configuration cfg)`

Constructors in org.hibernate.ejb with parameters of type Configuration
`EntityManagerFactoryImpl(PersistenceUnitTransactionType transactionType, boolean discardOnClose, Class sessionInterceptorClass, Configuration cfg, ServiceRegistry serviceRegistry, String persistenceUnitName)`

Uses of Configuration in org.hibernate.ejb.event

Methods in org.hibernate.ejb.event with parameters of type Configuration
`void` | `JpaIntegrator.integrate(Configuration configuration, SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry)`

Uses of Configuration in org.hibernate.envers.ant

Methods in org.hibernate.envers.ant with parameters of type Configuration
`protected void` | `AnnotationConfigurationTaskWithEnvers.doConfiguration(Configuration configuration)`
`protected void` | `ConfigurationTaskWithEnvers.doConfiguration(Configuration configuration)`
`protected void` | `JPAConfigurationTaskWithEnvers.doConfiguration(Configuration configuration)`

Uses of Configuration in org.hibernate.envers.configuration

Methods in org.hibernate.envers.configuration with parameters of type Configuration
`org.hibernate.envers.configuration.RevisionInfoConfigurationResult` | `RevisionInfoConfiguration.configure(Configuration cfg, org.hibernate.annotations.common.reflection.ReflectionManager reflectionManager)`
`EntitiesConfigurations` | `EntitiesConfigurator.configure(Configuration cfg, org.hibernate.annotations.common.reflection.ReflectionManager reflectionManager, GlobalConfiguration globalCfg, AuditEntitiesConfiguration verEntCfg, AuditStrategy auditStrategy, org.dom4j.Document revisionInfoXmlMapping, org.dom4j.Element revisionInfoRelationMapping)`
`static AuditConfiguration` | `AuditConfiguration.getFor(Configuration cfg)`
`static AuditConfiguration` | `AuditConfiguration.getFor(Configuration cfg, ClassLoaderService classLoaderService)`

Constructors in org.hibernate.envers.configuration with parameters of type Configuration
`AuditConfiguration(Configuration cfg)`
`AuditConfiguration(Configuration cfg, ClassLoaderService classLoaderService)`
`PersistentClassGraphDefiner(Configuration cfg)`

Uses of Configuration in org.hibernate.envers.configuration.metadata

Constructors in org.hibernate.envers.configuration.metadata with parameters of type Configuration
`AuditMetadataGenerator(Configuration cfg, GlobalConfiguration globalCfg, AuditEntitiesConfiguration verEntCfg, AuditStrategy auditStrategy, org.dom4j.Element revisionInfoRelationMapping, AuditEntityNameRegister auditEntityNameRegister)`

Uses of Configuration in org.hibernate.envers.event

Methods in org.hibernate.envers.event with parameters of type Configuration
`void` | `EnversIntegrator.integrate(Configuration configuration, SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry)`

Uses of Configuration in org.hibernate.event.service.internal

Methods in org.hibernate.event.service.internal with parameters of type Configuration
`EventListenerRegistry` | `EventListenerServiceInitiator.initiateService(SessionFactoryImplementor sessionFactory, Configuration configuration, ServiceRegistryImplementor registry)`

Uses of Configuration in org.hibernate.integrator.spi

Methods in org.hibernate.integrator.spi with parameters of type Configuration
`void` | `Integrator.integrate(Configuration configuration, SessionFactoryImplementor sessionFactory, SessionFactoryServiceRegistry serviceRegistry)` Perform integration.

Uses of Configuration in org.hibernate.internal

Constructors in org.hibernate.internal with parameters of type Configuration
`SessionFactoryImpl(Configuration cfg, Mapping mapping, ServiceRegistry serviceRegistry, Settings settings, SessionFactoryObserver observer)`

Uses of Configuration in org.hibernate.persister.collection

Constructors in org.hibernate.persister.collection with parameters of type Configuration
`AbstractCollectionPersister(Collection collection, CollectionRegionAccessStrategy cacheAccessStrategy, Configuration cfg, SessionFactoryImplementor factory)`
`BasicCollectionPersister(Collection collection, CollectionRegionAccessStrategy cacheAccessStrategy, Configuration cfg, SessionFactoryImplementor factory)`
`OneToManyPersister(Collection collection, CollectionRegionAccessStrategy cacheAccessStrategy, Configuration cfg, SessionFactoryImplementor factory)`

Uses of Configuration in org.hibernate.persister.internal

Methods in org.hibernate.persister.internal with parameters of type Configuration
`CollectionPersister` | `PersisterFactoryImpl.createCollectionPersister(Configuration cfg, Collection collectionMetadata, CollectionRegionAccessStrategy cacheAccessStrategy, SessionFactoryImplementor factory)`

Uses of Configuration in org.hibernate.persister.spi

Methods in org.hibernate.persister.spi with parameters of type Configuration
`CollectionPersister` | `PersisterFactory.createCollectionPersister(Configuration cfg, Collection model, CollectionRegionAccessStrategy cacheAccessStrategy, SessionFactoryImplementor factory)` Create a collection persister instance.

Uses of Configuration in org.hibernate.service.internal

Methods in org.hibernate.service.internal with parameters of type Configuration
`SessionFactoryServiceRegistryImpl` | `SessionFactoryServiceRegistryFactoryImpl.buildServiceRegistry(SessionFactoryImplementor sessionFactory, Configuration configuration)`

Constructors in org.hibernate.service.internal with parameters of type Configuration
`SessionFactoryServiceRegistryImpl(ServiceRegistryImplementor parent, SessionFactoryImplementor sessionFactory, Configuration configuration)`

Uses of Configuration in org.hibernate.service.spi

Methods in org.hibernate.service.spi with parameters of type Configuration
`SessionFactoryServiceRegistryImpl` | `SessionFactoryServiceRegistryFactory.buildServiceRegistry(SessionFactoryImplementor sessionFactory, Configuration configuration)` Create the registry.
`R` | `SessionFactoryServiceInitiator.initiateService(SessionFactoryImplementor sessionFactory, Configuration configuration, ServiceRegistryImplementor registry)` Initiates the managed service.

Uses of Configuration in org.hibernate.stat.internal

Methods in org.hibernate.stat.internal with parameters of type Configuration
`StatisticsImplementor` | `StatisticsInitiator.initiateService(SessionFactoryImplementor sessionFactory, Configuration configuration, ServiceRegistryImplementor registry)`

Uses of Configuration in org.hibernate.testing.junit4

Methods in org.hibernate.testing.junit4 that return Configuration
`protected Configuration` | `BaseCoreFunctionalTestCase.buildConfiguration()`
`protected Configuration` | `BaseCoreFunctionalTestCase.configuration()`
`protected Configuration` | `BaseCoreFunctionalTestCase.constructConfiguration()`

Methods in org.hibernate.testing.junit4 with parameters of type Configuration
`protected void` | `BaseCoreFunctionalTestCase.addMappings(Configuration configuration)`
`protected void` | `BaseCoreFunctionalTestCase.afterConfigurationBuilt(Configuration configuration)`
`protected void` | `BaseCoreFunctionalTestCase.applyCacheSettings(Configuration configuration)`
`protected StandardServiceRegistryImpl` | `BaseCoreFunctionalTestCase.buildServiceRegistry(Configuration configuration)`
`protected void` | `BaseCoreFunctionalTestCase.configure(Configuration configuration)`

Uses of Configuration in org.hibernate.tool

Constructors in org.hibernate.tool with parameters of type Configuration
`EnversSchemaGenerator(Configuration configuration)`
`EnversSchemaGenerator(Configuration configuration, Connection connection)`
`EnversSchemaGenerator(Configuration configuration, Properties properties)`
`EnversSchemaGenerator(ServiceRegistry serviceRegistry, Configuration configuration)`

Uses of Configuration in org.hibernate.tool.hbm2ddl

Constructors in org.hibernate.tool.hbm2ddl with parameters of type Configuration
`SchemaExport(Configuration configuration)` Create a schema exporter for the given Configuration
`SchemaExport(Configuration configuration, Connection connection)` Create a schema exporter for the given Configuration, using the supplied connection for connectivity.
`SchemaExport(Configuration configuration, Properties properties)` Deprecated. properties may be specified via the Configuration object
`SchemaExport(ServiceRegistry serviceRegistry, Configuration configuration)`
`SchemaUpdate(Configuration cfg)`
`SchemaUpdate(Configuration configuration, Properties properties)`
`SchemaUpdate(ServiceRegistry serviceRegistry, Configuration cfg)`
`SchemaValidator(Configuration cfg)`
`SchemaValidator(Configuration cfg, Properties connectionProperties)`
`SchemaValidator(ServiceRegistry serviceRegistry, Configuration cfg)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.