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 org.hibernate.testing.orm.domain org.hibernate.testing.orm.domain.animal Standard model for Hibernate's legacy Animal model used in HQL testingorg.hibernate.testing.orm.domain.contacts org.hibernate.testing.orm.domain.retail org.hibernate.testing.orm.junit -
-
Uses of MetadataSources in org.hibernate.boot
Methods in org.hibernate.boot that return MetadataSources Modifier and Type Method Description MetadataSourcesMetadataSources. addAnnotatedClass(java.lang.Class annotatedClass)Read metadata from the annotations attached to the given class.MetadataSourcesMetadataSources. addAnnotatedClassName(java.lang.String annotatedClassName)Read metadata from the annotations attached to the given class.MetadataSourcesMetadataSources. addCacheableFile(java.io.File file)Add a cached mapping file.MetadataSourcesMetadataSources. addCacheableFile(java.lang.String path)SeeaddCacheableFile(java.io.File)for descriptionMetadataSourcesMetadataSources. addCacheableFileStrictly(java.io.File file)INTENDED FOR TESTSUITE USE ONLY!MetadataSourcesMetadataSources. addClass(java.lang.Class entityClass)Deprecated.hbm.xml is a legacy mapping format now considered deprecated.MetadataSourcesMetadataSources. addDirectory(java.io.File dir)Read all mapping documents from a directory tree.MetadataSourcesMetadataSources. addDocument(org.w3c.dom.Document document)Deprecated.since 5.0.MetadataSourcesMetadataSources. addFile(java.io.File file)Read mappings from a particular XML fileMetadataSourcesMetadataSources. addFile(java.lang.String path)Read mappings from a particular XML fileMetadataSourcesMetadataSources. addInputStream(java.io.InputStream xmlInputStream)Read metadata from anInputStream.MetadataSourcesMetadataSources. addInputStream(InputStreamAccess xmlInputStreamAccess)Read metadata from anInputStreamaccessMetadataSourcesMetadataSources. addJar(java.io.File jar)Read all mappings from a jar file.MetadataSourcesMetadataSources. addPackage(java.lang.Package packageRef)Read package-level metadata.MetadataSourcesMetadataSources. addPackage(java.lang.String packageName)Read package-level metadata.MetadataSourcesMetadataSources. addResource(java.lang.String name)Read mappings as an application resourceName (i.e.MetadataSourcesMetadataSources. addURL(java.net.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) -
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 voidBaseNonConfigCoreFunctionalTestCase. afterMetadataSourcesApplied(MetadataSources metadataSources)protected voidBaseNonConfigCoreFunctionalTestCase. applyMetadataSources(MetadataSources sources) -
Uses of MetadataSources in org.hibernate.testing.orm.domain
Methods in org.hibernate.testing.orm.domain with parameters of type MetadataSources Modifier and Type Method Description voidAbstractDomainModelDescriptor. applyDomainModel(MetadataSources sources)voidDomainModelDescriptor. applyDomainModel(MetadataSources sources)Apply the model classes to the given MetadataSources -
Uses of MetadataSources in org.hibernate.testing.orm.domain.animal
Methods in org.hibernate.testing.orm.domain.animal with parameters of type MetadataSources Modifier and Type Method Description static voidAnimalDomainModel. applyContactsModel(MetadataSources sources) -
Uses of MetadataSources in org.hibernate.testing.orm.domain.contacts
Methods in org.hibernate.testing.orm.domain.contacts with parameters of type MetadataSources Modifier and Type Method Description static voidContactsDomainModel. applyContactsModel(MetadataSources sources) -
Uses of MetadataSources in org.hibernate.testing.orm.domain.retail
Methods in org.hibernate.testing.orm.domain.retail with parameters of type MetadataSources Modifier and Type Method Description static voidRetailDomainModel. applyRetailModel(MetadataSources sources) -
Uses of MetadataSources in org.hibernate.testing.orm.junit
Methods in org.hibernate.testing.orm.junit with parameters of type MetadataSources Modifier and Type Method Description protected voidBaseSessionFactoryFunctionalTest. applyMetadataSources(MetadataSources metadataSources)
-