@CompileStatic class HibernateRuntimeUtils extends Object
Utility methods used at runtime by the GORM for Hibernate implementation
| Constructor and description |
|---|
HibernateRuntimeUtils() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
static void |
autoAssociateBidirectionalOneToOnes(PersistentEntity entity, Object target) |
|
static Object |
convertValueToType(Object value, Class targetType, ConversionService conversionService) |
|
static void |
enableDynamicFilterEnablerIfPresent(SessionFactory sessionFactory, Session session) |
|
static Errors |
setupErrorsProperty(Object target)Initializes the Errors property on target. |
Initializes the Errors property on target. The target will be assigned a new Errors property. If the target contains any binding errors, those binding errors will be copied in to the new Errors property.
target - object to initialize