Package | Description |
---|---|
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.envers.configuration | |
org.hibernate.envers.configuration.metadata | |
org.hibernate.envers.event | |
org.hibernate.event |
This package defines an event framework for Hibernate.
|
org.hibernate.impl |
This package contains implementations of the
central Hibernate APIs, especially the
Hibernate session.
|
org.hibernate.persister |
A persister defines a mapping strategy for a collection
or entity.
|
org.hibernate.persister.collection |
This package abstracts the persistence mechanism for collections.
|
org.hibernate.secure |
Declarative security for CRUD operations on entities.
|
org.hibernate.testing.cache | |
org.hibernate.testing.junit.functional | |
org.hibernate.testing.junit.functional.annotations | |
org.hibernate.tool.hbm2ddl |
The hbm2ddl tool.
|
org.hibernate.util |
Utility classes.
|
Modifier and Type | Class and Description |
---|---|
class |
AnnotationConfiguration
Deprecated.
All functionality has been moved to
Configuration |
Modifier and Type | Method and Description |
---|---|
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
|
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.setPersisterClassProvider(PersisterClassProvider persisterClassProvider)
Defines a custom persister class provider.
|
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
|
Modifier and Type | Method and Description |
---|---|
void |
BeanValidationEventListener.initialize(Configuration cfg) |
Constructor and Description |
---|
EntityManagerFactoryImpl(SessionFactory sessionFactory,
javax.persistence.spi.PersistenceUnitTransactionType transactionType,
boolean discardOnClose,
Class<?> sessionInterceptorClass,
Configuration cfg) |
Modifier and Type | Method and Description |
---|---|
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) |
Constructor and Description |
---|
AuditConfiguration(Configuration cfg) |
PersistentClassGraphDefiner(Configuration cfg) |
Constructor and Description |
---|
AuditMetadataGenerator(Configuration cfg,
GlobalConfiguration globalCfg,
AuditEntitiesConfiguration verEntCfg,
AuditStrategy auditStrategy,
org.dom4j.Element revisionInfoRelationMapping,
AuditEntityNameRegister auditEntityNameRegister) |
Modifier and Type | Method and Description |
---|---|
void |
AuditEventListener.initialize(Configuration cfg) |
Modifier and Type | Method and Description |
---|---|
void |
Initializable.initialize(Configuration cfg) |
void |
EventListeners.initializeListeners(Configuration cfg)
Call
Initializable.initialize(org.hibernate.cfg.Configuration) on any listeners that implement the
Initializable interface. |
Constructor and Description |
---|
SessionFactoryImpl(Configuration cfg,
Mapping mapping,
Settings settings,
EventListeners listeners,
SessionFactoryObserver observer) |
Modifier and Type | Method and Description |
---|---|
static CollectionPersister |
PersisterFactory.createCollectionPersister(Configuration cfg,
Collection model,
CollectionRegionAccessStrategy cacheAccessStrategy,
SessionFactoryImplementor factory) |
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
void |
JACCPreLoadEventListener.initialize(Configuration cfg) |
void |
JACCPreDeleteEventListener.initialize(Configuration cfg) |
void |
JACCPreUpdateEventListener.initialize(Configuration cfg) |
void |
JACCPreInsertEventListener.initialize(Configuration cfg) |
Modifier and Type | Method and Description |
---|---|
protected void |
BaseCacheProviderTestCase.configCache(Configuration cfg) |
protected void |
BaseCacheRegionFactoryTestCase.configCache(Configuration cfg) |
protected abstract void |
BaseCacheTestCase.configCache(Configuration cfg) |
void |
BaseCacheTestCase.configure(Configuration cfg) |
Modifier and Type | Method and Description |
---|---|
protected Configuration |
FunctionalTestCase.getCfg() |
Configuration |
ExecutionEnvironment.getConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
FunctionalTestCase.configure(Configuration cfg) |
void |
ExecutionEnvironment.Settings.configure(Configuration cfg) |
Modifier and Type | Field and Description |
---|---|
protected static Configuration |
HibernateTestCase.cfg |
Modifier and Type | Method and Description |
---|---|
protected static Configuration |
HibernateTestCase.getCfg() |
Modifier and Type | Method and Description |
---|---|
protected void |
HibernateTestCase.configure(Configuration cfg) |
protected static void |
HibernateTestCase.setCfg(Configuration cfg) |
Constructor and Description |
---|
SchemaExport(Configuration cfg)
Create a schema exporter for the given Configuration
|
SchemaExport(Configuration cfg,
Connection connection)
Create a schema exporter for the given Configuration, using the supplied connection for connectivity.
|
SchemaExport(Configuration cfg,
Properties properties)
Deprecated.
properties may be specified via the Configuration object
|
SchemaExport(Configuration cfg,
Settings settings)
Create a schema exporter for the given Configuration and given settings
|
SchemaUpdate(Configuration cfg) |
SchemaUpdate(Configuration cfg,
Properties connectionProperties) |
SchemaUpdate(Configuration cfg,
Settings settings) |
SchemaValidator(Configuration cfg) |
SchemaValidator(Configuration cfg,
Properties connectionProperties) |
SchemaValidator(Configuration cfg,
Settings settings) |
Modifier and Type | Method and Description |
---|---|
protected Configuration |
ExternalSessionFactoryConfig.buildConfiguration() |
Copyright © 2002-2015 Red Hat Middleware, LLC. All Rights Reserved