@CompileStatic class MappingBuilder extends 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(Closure mappingDefinition)Build a Hibernate mapping |
|
static MappingDefinition<Mapping, PropertyConfig> |
orm(Closure mappingDefinition)Build a Hibernate mapping |
Build a Hibernate mapping
mappingDefinition - The closure defining the mappingBuild a Hibernate mapping
mappingDefinition - The closure defining the mapping