Handles the binding Grails domain classes and properties to the Hibernate runtime meta model. Based on the HbmBinder code in Hibernate core and influenced by AnnotationsBinder.
Modifiers | Name | Description |
---|---|---|
protected static java.util.Map<java.lang.Class<?>, Mapping> |
MAPPING_CACHE |
Type Params | Return Type | Name and description |
---|---|---|
|
static void |
clearMappingCache() |
|
static void |
clearMappingCache(java.lang.Class<?> theClass) |
|
static Mapping |
getMapping(java.lang.Class<?> theClass) Obtains a mapping object for the given domain class nam |
|
static Mapping |
getMapping(PersistentEntity domainClass) Obtains a mapping object for the given domain class nam |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), 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() |
Obtains a mapping object for the given domain class nam
theClass
- The domain class in questionObtains a mapping object for the given domain class nam
domainClass
- The domain class in question