A Mapping context for Hibernate
Fields inherited from class | Fields |
---|---|
class AbstractMappingContext |
GROOVY_PROXY_FACTORY_NAME, JAVASIST_PROXY_FACTORY |
Constructor and description |
---|
HibernateMappingContext
(org.springframework.core.env.PropertyResolver configuration, java.lang.Object contextObject, java.lang.Class... persistentClasses) |
HibernateMappingContext
(org.springframework.core.env.PropertyResolver configuration, java.lang.Object contextObject, groovy.lang.Closure defaultConstraints, java.lang.Class... persistentClasses) |
HibernateMappingContext
(org.springframework.core.env.PropertyResolver configuration, java.lang.Object contextObject) |
HibernateMappingContext
() |
HibernateMappingContext
(groovy.lang.Closure defaultMapping) |
HibernateMappingContext
(groovy.lang.Closure defaultMapping, java.lang.Object contextObject) |
Type | Name and description |
---|---|
PersistentEntity |
createEmbeddedEntity(java.lang.Class type) |
protected PersistentEntity |
createPersistentEntity(java.lang.Class javaClass) |
protected PersistentEntity |
createPersistentEntity(java.lang.Class javaClass, boolean external) |
MappingFactory |
getMappingFactory() |
MappingConfigurationStrategy |
getMappingSyntaxStrategy() |
static boolean |
isDomainClass(java.lang.Class clazz) |
void |
setDefaultConstraints(groovy.lang.Closure defaultConstraints) Sets the default constraints to be used |
Sets the default constraints to be used
defaultConstraints
- The default constraints