| Package | Description | 
|---|---|
| org.hibernate.boot | 
 This package contains the contracts that make up the Hibernate native
 bootstrapping API (building a SessionFactory). 
 | 
| org.hibernate.boot.cfgxml.spi | |
| org.hibernate.boot.internal | |
| org.hibernate.boot.model.process.internal | |
| org.hibernate.boot.model.process.spi | |
| org.hibernate.boot.spi | |
| org.hibernate.cfg | 
 
        This package defines APIs for configuring Hibernate, and classes
        for building the Hibernate configuration-time metamodel. 
 | 
| org.hibernate.jpa.boot.internal | 
| Modifier and Type | Method and Description | 
|---|---|
MetadataSources | 
MetadataSources.addAnnotatedClass(Class annotatedClass)
Read metadata from the annotations attached to the given class. 
 | 
MetadataSources | 
MetadataSources.addAnnotatedClassName(String annotatedClassName)
Read metadata from the annotations attached to the given class. 
 | 
MetadataSources | 
MetadataSources.addCacheableFile(File file)
Add a cached mapping file. 
 | 
MetadataSources | 
MetadataSources.addCacheableFile(String path)
See  
addCacheableFile(java.io.File) for description | 
MetadataSources | 
MetadataSources.addCacheableFileStrictly(File file)
INTENDED FOR TESTSUITE USE ONLY!
 
 Much like  
addCacheableFile(java.io.File) except that here we will fail immediately if
 the cache version cannot be found or used for whatever reason | 
MetadataSources | 
MetadataSources.addClass(Class entityClass)
Deprecated. 
 
hbm.xml is a legacy mapping format now considered deprecated. 
 | 
MetadataSources | 
MetadataSources.addDirectory(File dir)
Read all mapping documents from a directory tree. 
 | 
MetadataSources | 
MetadataSources.addDocument(Document document)
Deprecated. 
 
since 5.0.  Use one of the other methods for passing mapping source(s). 
 | 
MetadataSources | 
MetadataSources.addFile(File file)
Read mappings from a particular XML file 
 | 
MetadataSources | 
MetadataSources.addFile(String path)
Read mappings from a particular XML file 
 | 
MetadataSources | 
MetadataSources.addInputStream(InputStream xmlInputStream)
Read metadata from an  
InputStream. | 
MetadataSources | 
MetadataSources.addInputStream(InputStreamAccess xmlInputStreamAccess)
Read metadata from an  
InputStream access | 
MetadataSources | 
MetadataSources.addJar(File jar)
Read all mappings from a jar file. 
 | 
MetadataSources | 
MetadataSources.addPackage(Package packageRef)
Read package-level metadata. 
 | 
MetadataSources | 
MetadataSources.addPackage(String packageName)
Read package-level metadata. 
 | 
MetadataSources | 
MetadataSources.addResource(String name)
Read mappings as a application resourceName (i.e. 
 | 
MetadataSources | 
MetadataSources.addURL(URL url)
Read mappings from a  
URL | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
MappingReference.apply(MetadataSources metadataSources)  | 
| Constructor and Description | 
|---|
MetadataBuilderImpl(MetadataSources sources)  | 
MetadataBuilderImpl(MetadataSources sources,
                   StandardServiceRegistry serviceRegistry)  | 
| Modifier and Type | Method and Description | 
|---|---|
static ManagedResourcesImpl | 
ManagedResourcesImpl.baseline(MetadataSources sources,
        MetadataBuildingOptions metadataBuildingOptions)  | 
| Modifier and Type | Method and Description | 
|---|---|
static MetadataImplementor | 
MetadataBuildingProcess.build(MetadataSources sources,
     MetadataBuildingOptions options)
Unified single phase for MetadataSources->Metadata process 
 | 
static ManagedResources | 
MetadataBuildingProcess.prepare(MetadataSources sources,
       MetadataBuildingOptions options)
First step of 2-phase for MetadataSources->Metadata process 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
MetadataSourcesContributor.contribute(MetadataSources metadataSources)
Perform the process of contributing to MetadataSources. 
 | 
MetadataBuilderImplementor | 
MetadataBuilderFactory.getMetadataBuilder(MetadataSources metadatasources,
                  MetadataBuilderImplementor defaultBuilder)
Creates a  
MetadataBuilderImplementor. | 
| Constructor and Description | 
|---|
Configuration(MetadataSources metadataSources)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected List<AttributeConverterDefinition> | 
EntityManagerFactoryBuilderImpl.populate(MetadataSources metadataSources,
        EntityManagerFactoryBuilderImpl.MergedSettings mergedSettings,
        StandardServiceRegistry ssr)  | 
Copyright © 2017 JBoss by Red Hat. All rights reserved.