Uses of Class
org.hibernate.boot.MetadataSources
-
Packages that use MetadataSources 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.model.process.spi org.hibernate.boot.spi org.hibernate.cfg org.hibernate.testing.junit4 -
-
Uses of MetadataSources in org.hibernate.boot
Methods in org.hibernate.boot that return MetadataSources Modifier and Type Method 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)
SeeaddCacheableFile(java.io.File)
for descriptionMetadataSources
MetadataSources. addCacheableFileStrictly(File file)
INTENDED FOR TESTSUITE USE ONLY!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.MetadataSources
MetadataSources. addFile(File file)
Read mappings from a particular XML fileMetadataSources
MetadataSources. addFile(String path)
Read mappings from a particular XML fileMetadataSources
MetadataSources. addInputStream(InputStream xmlInputStream)
Read metadata from anInputStream
.MetadataSources
MetadataSources. addInputStream(InputStreamAccess xmlInputStreamAccess)
Read metadata from anInputStream
accessMetadataSources
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 aURL
-
Uses of MetadataSources in org.hibernate.boot.cfgxml.spi
Methods in org.hibernate.boot.cfgxml.spi with parameters of type MetadataSources Modifier and Type Method Description void
MappingReference. apply(MetadataSources metadataSources)
-
Uses of MetadataSources in org.hibernate.boot.model.process.spi
Methods in org.hibernate.boot.model.process.spi with parameters of type MetadataSources Modifier and Type Method Description static MetadataImplementor
MetadataBuildingProcess. build(MetadataSources sources, BootstrapContext bootstrapContext, MetadataBuildingOptions options)
Unified single phase for MetadataSources->Metadata processstatic ManagedResources
MetadataBuildingProcess. prepare(MetadataSources sources, BootstrapContext bootstrapContext)
First step of 2-phase for MetadataSources->Metadata process -
Uses of MetadataSources in org.hibernate.boot.spi
Methods in org.hibernate.boot.spi with parameters of type MetadataSources Modifier and Type Method Description void
MetadataSourcesContributor. contribute(MetadataSources metadataSources)
Perform the process of contributing to MetadataSources.MetadataBuilderImplementor
MetadataBuilderFactory. getMetadataBuilder(MetadataSources metadatasources, MetadataBuilderImplementor defaultBuilder)
Creates aMetadataBuilderImplementor
. -
Uses of MetadataSources in org.hibernate.cfg
Constructors in org.hibernate.cfg with parameters of type MetadataSources Constructor Description Configuration(MetadataSources metadataSources)
-
Uses of MetadataSources in org.hibernate.testing.junit4
Methods in org.hibernate.testing.junit4 with parameters of type MetadataSources Modifier and Type Method Description protected void
BaseNonConfigCoreFunctionalTestCase. afterMetadataSourcesApplied(MetadataSources metadataSources)
protected void
BaseNonConfigCoreFunctionalTestCase. applyMetadataSources(MetadataSources sources)
-