Configuration |
Configuration.addAnnotatedClass(java.lang.Class annotatedClass) |
Read metadata from the annotations associated with this class.
|
Configuration |
Configuration.addCacheableFile(java.io.File xmlFile) |
Add a cached mapping file.
|
Configuration |
Configuration.addCacheableFile(java.lang.String xmlFile) |
Add a cacheable mapping file.
|
Configuration |
Configuration.addCacheableFileStrictly(java.io.File xmlFile) |
INTENDED FOR TESTSUITE USE ONLY!
|
Configuration |
Configuration.addClass(java.lang.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(java.io.File dir) |
Read all mapping documents from a directory tree.
|
Configuration |
Configuration.addDocument(org.w3c.dom.Document doc) |
Deprecated.
|
Configuration |
Configuration.addFile(java.io.File xmlFile) |
Read mappings from a particular XML file
|
Configuration |
Configuration.addFile(java.lang.String xmlFile) |
Read mappings from a particular XML file
|
Configuration |
Configuration.addInputStream(java.io.InputStream xmlInputStream) |
Read mappings from an InputStream .
|
Configuration |
Configuration.addJar(java.io.File jar) |
Read all mappings from a jar file
|
Configuration |
Configuration.addPackage(java.lang.String packageName) |
Read package-level metadata.
|
Configuration |
Configuration.addProperties(java.util.Properties properties) |
Add the given properties to ours.
|
Configuration |
Configuration.addResource(java.lang.String resourceName) |
Read mappings as a application resourceName (i.e.
|
Configuration |
Configuration.addResource(java.lang.String resourceName,
java.lang.ClassLoader classLoader) |
Deprecated.
|
Configuration |
Configuration.addURL(java.net.URL url) |
Read mappings from a URL
|
Configuration |
Configuration.addXML(java.lang.String xml) |
Deprecated.
|
Configuration |
Configuration.addXmlMapping(Binding<?> binding) |
|
protected Configuration |
ExternalSessionFactoryConfig.buildConfiguration() |
|
Configuration |
Configuration.configure() |
Use the mappings and properties specified in an application resource named hibernate.cfg.xml.
|
Configuration |
Configuration.configure(java.io.File configFile) |
Use the mappings and properties specified in the given application file.
|
Configuration |
Configuration.configure(java.lang.String resource) |
Use the mappings and properties specified in the given application resource.
|
Configuration |
Configuration.configure(java.net.URL url) |
Use the mappings and properties specified in the given document.
|
Configuration |
Configuration.configure(org.w3c.dom.Document document) |
Deprecated.
|
Configuration |
Configuration.mergeProperties(java.util.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.registerTypeContributor(TypeContributor typeContributor) |
|
Configuration |
Configuration.registerTypeOverride(BasicType type) |
Allows registration of a type into the type registry.
|
Configuration |
Configuration.registerTypeOverride(CompositeUserType type,
java.lang.String[] keys) |
|
Configuration |
Configuration.registerTypeOverride(UserType type,
java.lang.String[] keys) |
|
Configuration |
Configuration.setInterceptor(Interceptor interceptor) |
|
Configuration |
Configuration.setProperties(java.util.Properties properties) |
Specify a completely new set of properties
|
Configuration |
Configuration.setProperty(java.lang.String propertyName,
java.lang.String value) |
Set a property value by name
|