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 -
-
Uses of MetadataSources in org.hibernate.boot
Methods in org.hibernate.boot that return MetadataSources Modifier and Type Method Description MetadataSourcesMetadataSources. addAnnotatedClass(Class annotatedClass)Read metadata from the annotations attached to the given class.MetadataSourcesMetadataSources. addAnnotatedClassName(String annotatedClassName)Read metadata from the annotations attached to the given class.MetadataSourcesMetadataSources. addCacheableFile(File file)Add a cached mapping file.MetadataSourcesMetadataSources. addCacheableFile(String path)SeeaddCacheableFile(java.io.File)for descriptionMetadataSourcesMetadataSources. addCacheableFileStrictly(File file)INTENDED FOR TESTSUITE USE ONLY!MetadataSourcesMetadataSources. addClass(Class entityClass)Deprecated.hbm.xml is a legacy mapping format now considered deprecated.MetadataSourcesMetadataSources. addDirectory(File dir)Read all mapping documents from a directory tree.MetadataSourcesMetadataSources. addDocument(Document document)Deprecated.since 5.0.MetadataSourcesMetadataSources. addFile(File file)Read mappings from a particular XML fileMetadataSourcesMetadataSources. addFile(String path)Read mappings from a particular XML fileMetadataSourcesMetadataSources. addInputStream(InputStream xmlInputStream)Read metadata from anInputStream.MetadataSourcesMetadataSources. addInputStream(InputStreamAccess xmlInputStreamAccess)Read metadata from anInputStreamaccessMetadataSourcesMetadataSources. addJar(File jar)Read all mappings from a jar file.MetadataSourcesMetadataSources. addPackage(Package packageRef)Read package-level metadata.MetadataSourcesMetadataSources. addPackage(String packageName)Read package-level metadata.MetadataSourcesMetadataSources. addResource(String name)Read mappings as an application resourceName (i.e.MetadataSourcesMetadataSources. addURL(URL url)Read mappings from aURLMetadataSourcesMetadataSources. addXmlBinding(Binding<?> binding)Add XML mapping bindings created from an arbitrary source by thebinder. -
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 voidMappingReference. 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 MetadataImplementorMetadataBuildingProcess. build(MetadataSources sources, BootstrapContext bootstrapContext, MetadataBuildingOptions options)Unified single phase for MetadataSources->Metadata processstatic ManagedResourcesMetadataBuildingProcess. 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 voidMetadataSourcesContributor. contribute(MetadataSources metadataSources)Perform the process of contributing to MetadataSources.MetadataBuilderImplementorMetadataBuilderFactory. 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)
-