@groovy.transform.CompileStatic class MappingBuilder extends java.lang.Object
Entry point for the ORM mapping configuration DSL
Constructor and description |
---|
MappingBuilder() |
Type Params | Return Type | Name and description |
---|---|---|
|
static MappingDefinition<Mapping, PropertyConfig> |
define(groovy.lang.Closure mappingDefinition) Build a Hibernate mapping |
|
static MappingDefinition<Mapping, PropertyConfig> |
orm(groovy.lang.Closure mappingDefinition) Build a Hibernate mapping |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Build a Hibernate mapping
mappingDefinition
- The closure defining the mappingBuild a Hibernate mapping
mappingDefinition
- The closure defining the mapping