Deprecated
All functionality has been moved to Configuration
Configuration object but handles EJB3 and Hibernate
specific annotations as a metadata facility.
| Modifier and Type | Class and Description |
|---|---|
| protected class | AnnotationConfiguration.ExtendedMappingsImpl
Deprecated
|
| Modifier and Type | Field and Description |
|---|---|
| private Logger |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AnnotationConfiguration | addAnnotatedClass(Class<T>
The class containing annotations annotatedClass)Overrides org.
Deprecated
as a consequence of
Read metadata from the annotations associated with this class.
AnnotationConfiguration being deprecated.
|
| public AnnotationConfiguration | addCacheableFile(File
The cacheable mapping file to be added. xmlFile)Overrides org.
Deprecated
as a consequence of
Add a cached mapping file.
AnnotationConfiguration being deprecated.
|
| public AnnotationConfiguration | addCacheableFile(String
The name of the file to be added. This must be in a form
useable to simply construct a xmlFile)java. instance.Overrides org.
Deprecated
as a consequence of
Add a cacheable mapping file.
AnnotationConfiguration being deprecated.
|
| public AnnotationConfiguration | addClass(Class<T>
The mapped class persistentClass)Overrides org.
Deprecated
as a consequence of
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.
AnnotationConfiguration being deprecated.
|
| public AnnotationConfiguration | addDirectory(File
The directory dir)Overrides org.
Deprecated
as a consequence of
Read all mapping documents from a directory tree.
AnnotationConfiguration being deprecated.
|
| public AnnotationConfiguration | addDocument(Document
The DOM document doc)Overrides org.
Deprecated
as a consequence of
Read mappings from a DOM Document
AnnotationConfiguration being deprecated.
|
| public AnnotationConfiguration | addFile(String
a path to a file xmlFile)Overrides org.
Deprecated
as a consequence of
Read mappings from a particular XML file
AnnotationConfiguration being deprecated.
|
| public AnnotationConfiguration | addFile(File
a path to a file xmlFile)Overrides org.
Deprecated
as a consequence of
Read mappings from a particular XML file
AnnotationConfiguration being deprecated.
|
| public AnnotationConfiguration | addJar(File
a jar file jar)Overrides org.
Deprecated
as a consequence of
Read all mappings from a jar file
AnnotationConfiguration being deprecated.
Assumes that any file named *.hbm.xml is a mapping document. |
| public AnnotationConfiguration | addPackage(String
java package name packageName)Overrides org.
Deprecated
as a consequence of
Read package-level metadata.
AnnotationConfiguration being deprecated.
|
| public AnnotationConfiguration | addProperties(Properties
The properties to add. extraProperties)Overrides org.
Deprecated
as a consequence of
Add the given properties to ours.
AnnotationConfiguration being deprecated.
|
| public AnnotationConfiguration | addResource(String
The resource name resourceName, ClassLoader The class loader to use. classLoader)Overrides org.
Deprecated
as a consequence of
Read mappings as a application resource (i.e. classpath lookup).
AnnotationConfiguration being deprecated.
|
| public AnnotationConfiguration | addResource(String
The resource name resourceName)Overrides org.
Deprecated
as a consequence of
Read mappings as a application resourceName (i.e. classpath lookup)
trying different class loaders.
AnnotationConfiguration being deprecated.
|
| public AnnotationConfiguration | addURL(URL
The url for the mapping document to be read. url)Overrides org.
Deprecated
as a consequence of
Read mappings from a URL
AnnotationConfiguration being deprecated.
|
| public AnnotationConfiguration | addXML(String
an XML string xml)Overrides org.
Deprecated
as a consequence of
Read mappings from a String
AnnotationConfiguration being deprecated.
|
| public AnnotationConfiguration | configure()
Overrides org.
Deprecated
as a consequence of
Use the mappings and properties specified in an application resource named hibernate.cfg.xml.
AnnotationConfiguration being deprecated.
|
| public AnnotationConfiguration | configure(String
The resource to use resource)Overrides org.
Deprecated
as a consequence of
Use the mappings and properties specified in the given application resource.
AnnotationConfiguration being deprecated.
|
| public AnnotationConfiguration | configure(URL
URL from which you wish to load the configuration url)Overrides org.
Deprecated
as a consequence of
Use the mappings and properties specified in the given document.
AnnotationConfiguration being deprecated.
|
| public AnnotationConfiguration | configure(File
File from which you wish to load the configuration configFile)Overrides org.
Deprecated
as a consequence of
Use the mappings and properties specified in the given application file.
AnnotationConfiguration being deprecated.
|
| public AnnotationConfiguration | configure(Document
an XML document from which you wish to load the configuration document)Overrides org.
Deprecated
as a consequence of
Use the mappings and properties specified in the given XML document.
AnnotationConfiguration being deprecated.
|
| public ExtendedMappings | |
| protected AnnotationConfiguration | doConfigure(InputStream
The input stream from which to read stream, String The name to use in warning/error messages resourceName)Overrides org.
Deprecated
as a consequence of
Configure this configuration's state from the contents of the given input stream.
AnnotationConfiguration being deprecated.
|
| protected AnnotationConfiguration | doConfigure(Document
The dom4j document doc)Overrides org.
Deprecated
as a consequence of
Parse a dom4j document conforming to the Hibernate Configuration DTD (hibernate-configuration-3.0.dtd)
and use its information to configure this AnnotationConfiguration being deprecated.
Configuration's state
|
| public AnnotationConfiguration | mergeProperties(Properties
The properties to merge properties)Overrides org.
Deprecated
as a consequence of
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.
AnnotationConfiguration being deprecated.
|
| public AnnotationConfiguration | setCacheConcurrencyStrategy(String
The name of the entity to which we shoudl associate these cache settings clazz, String The cache strategy to use concurrencyStrategy)Overrides org.
Deprecated
as a consequence of
Set up a cache for an entity class
AnnotationConfiguration being deprecated.
|
| public AnnotationConfiguration | setCacheConcurrencyStrategy(String
The name of the entity to which we should associate these cache settings clazz, String The cache strategy to use concurrencyStrategy, String The name of the cache region to use region)Overrides org.
Deprecated
as a consequence of
Set up a cache for an entity class, giving an explicit region name
AnnotationConfiguration being deprecated.
|
| public AnnotationConfiguration | setCollectionCacheConcurrencyStrategy(String
The name of the collection to which we should associate these cache settings collectionRole, String The cache strategy to use concurrencyStrategy)Overrides org.
Deprecated
as a consequence of
Set up a cache for a collection role
AnnotationConfiguration being deprecated.
|
| public AnnotationConfiguration | setInterceptor(Interceptor interceptor)
Overrides org.
Deprecated
as a consequence of
Set the current AnnotationConfiguration being deprecated.
Interceptor
|
| public AnnotationConfiguration | setNamingStrategy(NamingStrategy
the NamingStrategy to set namingStrategy)Overrides org.
Deprecated
as a consequence of
Set a custom naming strategy
AnnotationConfiguration being deprecated.
|
| public AnnotationConfiguration | setPersisterClassProvider(PersisterClassProvider
implementation persisterClassProvider)Overrides org.
Deprecated
as a consequence of
Defines a custom persister class provider.
AnnotationConfiguration being deprecated.
|
| public AnnotationConfiguration | setProperties(Properties
The new set of properties properties)Overrides org.
Deprecated
as a consequence of
Specify a completely new set of properties
AnnotationConfiguration being deprecated.
|
| public AnnotationConfiguration | setProperty(String
The name of the property to set propertyName, String The new property value value)Overrides org.
Deprecated
as a consequence of
Set a property value by name
AnnotationConfiguration being deprecated.
|