public interface ProgrammaticMappingConfigurationContext
| Modifier and Type | Method and Description |
|---|---|
TypeMappingStep |
type(Class<?> clazz)
Starts the definition of the mapping of a specific type.
|
TypeMappingStep |
type(String typeName)
Starts the definition of the mapping of a specific named type.
|
TypeMappingStep type(Class<?> clazz)
clazz - The type to map.TypeMappingStep type(String typeName)
typeName - The name of the type. For example for a dynamic, map-based entity type,
this would be the entity name.org.hibernate.search.util.common.SearchException - If the given name does not match any known type.Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.