Java org.hibernate.boot MetadataSources fields, constructors, methods, implement or subclass

Example usage for Java org.hibernate.boot MetadataSources fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.hibernate.boot MetadataSources.

The text is from its open source code.

Constructor

MetadataSources(ServiceRegistry serviceRegistry)
Create a metadata sources using the specified service registry.
MetadataSources()

Method

MetadataSourcesaddAnnotatedClass(Class annotatedClass)
Read metadata from the annotations attached to the given class.
MetadataSourcesaddAnnotatedClassName(String annotatedClassName)
Read metadata from the annotations attached to the given class.
MetadataSourcesaddFile(String path)
Read mappings from a particular XML file
MetadataSourcesaddFile(File file)
Read mappings from a particular XML file
MetadataSourcesaddPackage(String packageName)
Read package-level metadata.
MetadataSourcesaddPackage(Package packageRef)
Read package-level metadata.
MetadataSourcesaddResource(String name)
Read mappings as a application resourceName (i.e.
MetadatabuildMetadata()
Short-hand form of calling #getMetadataBuilder() and using its org.hibernate.boot.MetadataBuilder#build() method in cases where the application wants to accept the defaults.
MetadatabuildMetadata(StandardServiceRegistry serviceRegistry)
Collection>getAnnotatedClasses()
MetadataBuildergetMetadataBuilder()
Get a builder for metadata where non-default options can be specified.
MetadataBuildergetMetadataBuilder(StandardServiceRegistry serviceRegistry)
Get a builder for metadata where non-default options can be specified.
ServiceRegistrygetServiceRegistry()