public abstract class AbstractGrailsDomainBinder extends Object
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 Map<Class<?>, Mapping> |
MAPPING_CACHE |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public static void |
clearMappingCache() |
|
public static void |
clearMappingCache(Class<?> theClass) |
|
public static Mapping |
getMapping(Class<?> theClass)Obtains a mapping object for the given domain class nam |
|
public static Mapping |
getMapping(PersistentEntity domainClass)Obtains a mapping object for the given domain class nam |
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