- cache(boolean) - Method in class grails.orm.HibernateCriteriaBuilder
-
Whether to use the query cache
- cacheCriteriaByMapping(Class<?>, Criteria) - Static method in class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsHibernateUtil
-
Configures the criteria instance to cache based on the configured mapping.
- cacheCriteriaByMapping(GrailsApplication, Class<?>, Criteria) - Static method in class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsHibernateUtil
-
- CALENDAR - Static variable in class grails.orm.HibernateCriteriaBuilder
-
- CALENDAR_DATE - Static variable in class grails.orm.HibernateCriteriaBuilder
-
- cascadeValidationToMany(Errors, BeanWrapper, GrailsDomainClassProperty, String) - Method in class org.codehaus.groovy.grails.orm.hibernate.validation.HibernateDomainClassValidator
-
Overrides the default behaviour and first checks if a PersistentCollection instance has been initialised using the
wasInitialised() method before cascading
- cascadeValidationToOne(Errors, BeanWrapper, Object, GrailsDomainClassProperty, String, Object) - Method in class org.codehaus.groovy.grails.orm.hibernate.validation.HibernateDomainClassValidator
-
- CHAR_ARRAY - Static variable in class grails.orm.HibernateCriteriaBuilder
-
- CHARACTER - Static variable in class grails.orm.HibernateCriteriaBuilder
-
- CHARACTER_ARRAY - Static variable in class grails.orm.HibernateCriteriaBuilder
-
- CHARACTERS_CLOB - Static variable in class grails.orm.HibernateCriteriaBuilder
-
- CLASS - Static variable in class grails.orm.HibernateCriteriaBuilder
-
- classLoader - Variable in class org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean
-
- clear() - Method in class grails.orm.PagedResultList
-
- clear() - Method in class org.codehaus.groovy.grails.orm.hibernate.support.HibernatePersistenceContextInterceptor
-
- clearDisabledValidations(Object) - Static method in class org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractSavePersistentMethod
-
- clearDisabledValidations() - Static method in class org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractSavePersistentMethod
-
- CLOB - Static variable in class grails.orm.HibernateCriteriaBuilder
-
- clone() - Method in class org.codehaus.groovy.grails.orm.hibernate.query.HibernateQuery
-
- close() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- closeSession(Session, SessionFactory) - Method in class org.codehaus.groovy.grails.orm.hibernate.support.GrailsOpenSessionInViewFilter
-
- ClosureEventListener - Class in org.codehaus.groovy.grails.orm.hibernate.support
-
Invokes closure events on domain entities such as beforeInsert, beforeUpdate and beforeDelete.
- ClosureEventListener(Class<?>, boolean, List) - Constructor for class org.codehaus.groovy.grails.orm.hibernate.support.ClosureEventListener
-
- ClosureEventTriggeringInterceptor - Class in org.codehaus.groovy.grails.orm.hibernate.support
-
Listens for Hibernate events and publishes corresponding Datastore events.
- ClosureEventTriggeringInterceptor() - Constructor for class org.codehaus.groovy.grails.orm.hibernate.support.ClosureEventTriggeringInterceptor
-
- CONFIG_PROPERTY_CACHE_QUERIES - Static variable in class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsHibernateUtil
-
- CONFIG_PROPERTY_OSIV_READONLY - Static variable in class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsHibernateUtil
-
- CONFIG_PROPERTY_PASS_READONLY_TO_HIBERNATE - Static variable in class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsHibernateUtil
-
- configClass - Variable in class org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean
-
- configLocked - Variable in class org.codehaus.groovy.grails.orm.hibernate.cfg.DefaultGrailsDomainConfiguration
-
- configLocked - Variable in class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsAnnotationConfiguration
-
- ConfigurableLocalSessionFactoryBean - Class in org.codehaus.groovy.grails.orm.hibernate
-
A SessionFactory bean that allows the configuration class to
be changed and customise for usage within Grails.
- ConfigurableLocalSessionFactoryBean() - Constructor for class org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean
-
- configureDomainBinder(GrailsApplication, Set<GrailsDomainClass>) - Static method in class org.codehaus.groovy.grails.orm.hibernate.cfg.DefaultGrailsDomainConfiguration
-
- configureHibernateDomainClasses(SessionFactory, String, GrailsApplication) - Static method in class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsHibernateUtil
-
- configureInheritanceMappings(Map) - Static method in class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsHibernateUtil
-
- configureJtaTransactionManagerAdapter(Configuration) - Method in class org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean
-
Configures adapter for adding transaction controlling hooks for supporting
Hibernate's org.hibernate.engine.transaction.Isolater class's interaction with transactions
This is required when there is no real JTA transaction manager in use and Spring's
TransactionAwareDataSourceProxy is used.
- configureNamingStrategy() - Method in class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsAnnotationConfiguration
-
Sets custom naming strategy specified in configuration or the default ImprovedNamingStrategy.
- contains(Object) - Method in class grails.orm.PagedResultList
-
- containsAll(Collection) - Method in class grails.orm.PagedResultList
-
- containsFetchProfileDefinition(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- conversionService - Variable in class org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractClausedStaticPersistentMethod
-
- conversionService - Variable in class org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractClausedStaticPersistentMethod.GrailsMethodExpression
-
- count(String) - Method in class grails.orm.HibernateCriteriaBuilder
-
Adds a projection that allows the criteria to return the property count
- count(String, String) - Method in class grails.orm.HibernateCriteriaBuilder
-
Adds a projection that allows the criteria to return the property count
- count() - Method in class grails.orm.HibernateCriteriaBuilder
-
- CountByPersistentMethod - Class in org.codehaus.groovy.grails.orm.hibernate.metaclass
-
Dynamic method that allows counting the values of the specified property names
eg.
- CountByPersistentMethod(HibernateDatastore, GrailsApplication, SessionFactory, ClassLoader) - Constructor for class org.codehaus.groovy.grails.orm.hibernate.metaclass.CountByPersistentMethod
-
- countDistinct(String) - Method in class grails.orm.HibernateCriteriaBuilder
-
Adds a projection that allows the criteria to return the distinct property count
- countDistinct(String, String) - Method in class grails.orm.HibernateCriteriaBuilder
-
Adds a projection that allows the criteria to return the distinct property count
- create(GrailsApplication, Class<?>, String, ConversionService) - Static method in class org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractClausedStaticPersistentMethod.GrailsMethodExpression
-
- createAlias(String, String) - Method in class grails.orm.HibernateCriteriaBuilder
-
Join an association, assigning an alias to the joined association.
- createAlias(String, String, int) - Method in class grails.orm.HibernateCriteriaBuilder
-
Join an association using the specified join-type, assigning an alias
to the joined association.
- createCurrentSessionContext() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- createHibernateCriterionAdapter(PersistentEntity, Query.Criterion, String) - Method in class org.codehaus.groovy.grails.orm.hibernate.query.HibernateQuery
-
- createPersistenceContextInterceptor(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.support.AggregatePersistenceContextInterceptor
-
- createProxy(Serializable, SessionImplementor) - Method in class org.codehaus.groovy.grails.orm.hibernate.persister.entity.GroovyAwareJoinedSubclassEntityPersister
-
- createProxy(Serializable, SessionImplementor) - Method in class org.codehaus.groovy.grails.orm.hibernate.persister.entity.GroovyAwareSingleTableEntityPersister
-
- createProxyInstance(Class<?>, GroovyAwareJavassistLazyInitializer) - Static method in class org.codehaus.groovy.grails.orm.hibernate.proxy.GroovyAwareJavassistLazyInitializer
-
- createQuery(Class) - Method in class org.codehaus.groovy.grails.orm.hibernate.HibernateSession
-
- createRlikeExpression(String, String) - Method in class org.codehaus.groovy.grails.orm.hibernate.query.HibernateCriterionAdapter
-
- createRlikeExpression(String, String) - Method in class org.codehaus.groovy.grails.orm.hibernate.query.HibernateQuery
-
- createSession(Map<String, String>) - Method in class org.codehaus.groovy.grails.orm.hibernate.HibernateDatastore
-
- CURRENCY - Static variable in class grails.orm.HibernateCriteriaBuilder
-
- currentSessionContextClass - Variable in class org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean
-
- ge(String, Object) - Method in class grails.orm.HibernateCriteriaBuilder
-
Creates a "greater than or equal to" Criterion based on the specified property name and value
- geAll(String, Closure<?>) - Method in class grails.orm.HibernateCriteriaBuilder
-
Creates a subquery criterion that ensures the given property is greater than all the given returned values
- geAll(String, QueryableCriteria) - Method in class grails.orm.HibernateCriteriaBuilder
-
Creates a subquery criterion that ensures the given property is greater than all the given returned values
- geProperty(String, String) - Method in class grails.orm.HibernateCriteriaBuilder
-
Creates a Criterion that tests if the first property is greater than or equal to the second property
- get(int) - Method in class grails.orm.PagedResultList
-
- getAllClassMetadata() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getAllCollectionMetadata() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getAllSecondLevelCacheRegions() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getArguments() - Method in class org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractClausedStaticPersistentMethod.GrailsMethodExpression
-
- getAssociatedDomainClassFromApplication(Object) - Method in class org.codehaus.groovy.grails.orm.hibernate.validation.HibernateDomainClassValidator
-
- getAssociationProxy(Object, String) - Static method in class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsHibernateUtil
-
Returns the proxy for a given association or null if it is not proxied
- getAssociationProxy(Object, String) - Method in class org.codehaus.groovy.grails.orm.hibernate.proxy.HibernateProxyHandler
-
- getAssumedUnsaved() - Method in class org.codehaus.groovy.grails.orm.hibernate.support.ClosureEventTriggeringInterceptor
-
Prevents hitting the database for an extra check if the row exists in the database.
- getBidiEnumMap(Class<? extends Enum<?>>) - Static method in class org.codehaus.groovy.grails.orm.hibernate.cfg.IdentityEnumType
-
- getCache() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getCauseMessage(HibernateException) - Method in class org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean
-
- getClassMetadata(Class) - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getClassMetadata(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getCollectionMetadata(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getCollectionPersister(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getCollectionRolesByEntityParticipant(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getConfigTimeTransactionManagerHolder() - Method in class org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean
-
- getConnectionProvider() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getCriteria(HibernateDatastore, GrailsApplication, Session, DetachedCriteria, Closure, Class<?>) - Method in class org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractStaticPersistentMethod
-
- getCriterion() - Method in class org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractClausedStaticPersistentMethod.GrailsMethodExpression
-
- getCurrentSession() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getCurrentSessionFactory() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getCurrentSessionFactoryImplementor() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getDatasourceNames(GrailsDomainClass) - Static method in class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsHibernateUtil
-
- getDatasourceNames(GrailsDomainClass) - Method in class org.codehaus.groovy.grails.orm.hibernate.EventTriggeringInterceptor
-
- getDefaultDataSource(GrailsDomainClass) - Static method in class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsHibernateUtil
-
If a domain class uses more than one datasource, we need to know which one to use
when calling a method without a namespace qualifier.
- getDefinedFilterNames() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getDialect(SessionFactory) - Method in class org.codehaus.groovy.grails.orm.hibernate.query.HibernateQuery
-
- getDialect() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getEntityNotFoundDelegate() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getEntityPersister(String, SessionFactory) - Method in class org.codehaus.groovy.grails.orm.hibernate.query.HibernateQuery
-
- getEntityPersister(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getFactoryObserver() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getFetchMode(Object) - Static method in class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsHibernateUtil
-
Retrieves the fetch mode for the specified instance; otherwise returns the default FetchMode.
- getFetchProfile(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getFilterDefinition(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getFlushMode() - Method in class org.codehaus.groovy.grails.orm.hibernate.HibernateSession
-
- getGrailsApplication() - Method in class org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean
-
- getGrailsApplication() - Method in class org.codehaus.groovy.grails.orm.hibernate.HibernateDatastore
-
- getGroovyAwareJoinedSubclassEntityPersisterClass() - Method in class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsDomainBinder
-
- getGroovyAwareSingleTableEntityPersisterClass() - Method in class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsDomainBinder
-
- getHibernateDetachedCriteria(QueryableCriteria<?>) - Static method in class grails.orm.HibernateCriteriaBuilder
-
- getHibernateDetachedCriteria(QueryableCriteria<?>) - Method in class org.codehaus.groovy.grails.orm.hibernate.query.HibernateCriterionAdapter
-
- getHibernateTemplate() - Method in class org.codehaus.groovy.grails.orm.hibernate.HibernateSession
-
- getHibernateTemplate() - Method in class org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractDynamicPersistentMethod
-
- getHibernateTemplate() - Method in class org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractStaticPersistentMethod
-
- getHibernateTemplate() - Method in class org.codehaus.groovy.grails.orm.hibernate.validation.AbstractPersistentConstraint
-
- getHibernateTemplate() - Method in interface org.codehaus.groovy.grails.orm.hibernate.validation.PersistentConstraint
-
Obtains the HibernateTemplate.
- getIdentifierGenerator(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getIdentifierGeneratorClass(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsIdentifierGeneratorFactory
-
- getIdentifierGeneratorFactory() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
Deprecated.
- getIdentifierPropertyName(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getIdentifierType(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getImplementors(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getImportedClassName(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getInstance() - Method in class grails.orm.HibernateCriteriaBuilder
-
Returns the criteria instance
- getInterceptor() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getName() - Method in class org.codehaus.groovy.grails.orm.hibernate.validation.UniqueConstraint
-
- getNamedQuery(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getNamedSQLQuery(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getObject() - Method in class org.codehaus.groovy.grails.orm.hibernate.support.HibernateDialectDetectorFactoryBean
-
- getObjectIdentifier(Object) - Method in class org.codehaus.groovy.grails.orm.hibernate.HibernateSession
-
- getObjectType() - Method in class org.codehaus.groovy.grails.orm.hibernate.support.HibernateDialectDetectorFactoryBean
-
- getProperties() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getProperty(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getPropertyName() - Method in class org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractClausedStaticPersistentMethod.GrailsMethodExpression
-
- getProxiedClass(Object) - Method in class org.codehaus.groovy.grails.orm.hibernate.proxy.HibernateProxyHandler
-
- getProxy(String, Class<?>, Class<?>[], Method, Method, CompositeType, Serializable, SessionImplementor) - Static method in class org.codehaus.groovy.grails.orm.hibernate.proxy.GroovyAwareJavassistLazyInitializer
-
- getProxy(Class<?>, String, Class<?>, Class<?>[], Method, Method, CompositeType, Serializable, SessionImplementor) - Static method in class org.codehaus.groovy.grails.orm.hibernate.proxy.GroovyAwareJavassistLazyInitializer
-
- getProxy(Serializable, SessionImplementor) - Method in class org.codehaus.groovy.grails.orm.hibernate.proxy.GroovyAwareJavassistProxyFactory
-
- getProxyFactory(Class<?>, Class<?>[]) - Static method in class org.codehaus.groovy.grails.orm.hibernate.proxy.GroovyAwareJavassistLazyInitializer
-
- getProxyIdentifier(Object) - Method in class org.codehaus.groovy.grails.orm.hibernate.proxy.HibernateProxyHandler
-
- getQueryCache() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getQueryCache(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getQueryPlanCache() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getReference() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getReferencedPropertyType(String, String) - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getResult(Criteria) - Method in class org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractFindByPersistentMethod
-
- getResult(Criteria, boolean) - Method in class org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractFindByPersistentMethod
-
- getResultSetMapping(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getReturnAliases(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getReturnTypes(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getSecondLevelCacheRegion(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getSession(SessionFactory) - Method in class org.codehaus.groovy.grails.orm.hibernate.support.GrailsOpenSessionInViewFilter
-
- getSessionFactory() - Method in class org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractStaticPersistentMethod
-
- getSessionFactory() - Method in class org.codehaus.groovy.grails.orm.hibernate.support.HibernatePersistenceContextInterceptor
-
- getSettings() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getSQLExceptionConverter() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getSqlFunctionRegistry() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getStatistics() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getStatisticsImplementor() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getTargetClass() - Method in class grails.orm.HibernateCriteriaBuilder
-
- getTotalCount() - Method in class grails.orm.PagedResultList
-
- getTransactionManager() - Method in class org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean
-
- getTransactionManager() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getTypedValues(Criteria, CriteriaQuery) - Method in class grails.orm.RlikeExpression
-
- getTypeHelper() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getTypeResolver(SessionFactory) - Method in class org.codehaus.groovy.grails.orm.hibernate.query.HibernateQuery
-
- getTypeResolver() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getUniquenessGroup() - Method in class org.codehaus.groovy.grails.orm.hibernate.validation.UniqueConstraint
-
- getUpdateTimestampsCache() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- getWrappedObject() - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- grails.orm - package grails.orm
-
- GrailsAnnotationConfiguration - Class in org.codehaus.groovy.grails.orm.hibernate.cfg
-
Allows configuring Grails' hibernate support to work in conjuntion with Hibernate's annotation
support.
- GrailsAnnotationConfiguration() - Constructor for class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsAnnotationConfiguration
-
- grailsApplication - Variable in class org.codehaus.groovy.grails.orm.hibernate.cfg.DefaultGrailsDomainConfiguration
-
- grailsApplication - Variable in class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsAnnotationConfiguration
-
- grailsApplication - Variable in class org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean
-
- GrailsDomainBinder - Class in org.codehaus.groovy.grails.orm.hibernate.cfg
-
Handles the binding Grails domain classes and properties to the Hibernate runtime meta model.
- GrailsDomainBinder() - Constructor for class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsDomainBinder
-
- GrailsHibernateDomainClass - Class in org.codehaus.groovy.grails.orm.hibernate
-
An implementation of the GrailsDomainClass interface that allows Classes
mapped in Hibernate to integrate with Grails' validation, dynamic methods
etc.
- GrailsHibernateDomainClass(Class<?>, SessionFactory, String, GrailsApplication, ClassMetadata) - Constructor for class org.codehaus.groovy.grails.orm.hibernate.GrailsHibernateDomainClass
-
Contructor to be used by all child classes to create a new instance
and get the name right.
- GrailsHibernateTemplate - Class in org.codehaus.groovy.grails.orm.hibernate
-
- GrailsHibernateTemplate() - Constructor for class org.codehaus.groovy.grails.orm.hibernate.GrailsHibernateTemplate
-
- GrailsHibernateTemplate(SessionFactory, boolean) - Constructor for class org.codehaus.groovy.grails.orm.hibernate.GrailsHibernateTemplate
-
- GrailsHibernateTemplate(SessionFactory) - Constructor for class org.codehaus.groovy.grails.orm.hibernate.GrailsHibernateTemplate
-
- GrailsHibernateTemplate(SessionFactory, GrailsApplication) - Constructor for class org.codehaus.groovy.grails.orm.hibernate.GrailsHibernateTemplate
-
- GrailsHibernateUtil - Class in org.codehaus.groovy.grails.orm.hibernate.cfg
-
Utility methods for configuring Hibernate inside Grails.
- GrailsHibernateUtil() - Constructor for class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsHibernateUtil
-
- GrailsIdentifierGeneratorFactory - Class in org.codehaus.groovy.grails.orm.hibernate.cfg
-
Hibernate IdentifierGeneratorFactory that prefers sequence-identity generator over sequence generator
- GrailsIdentifierGeneratorFactory() - Constructor for class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsIdentifierGeneratorFactory
-
- GrailsOpenSessionInViewFilter - Class in org.codehaus.groovy.grails.orm.hibernate.support
-
Uses the GrailsApplication sessionFactory to apply the filter.
- GrailsOpenSessionInViewFilter() - Constructor for class org.codehaus.groovy.grails.orm.hibernate.support.GrailsOpenSessionInViewFilter
-
- GrailsOpenSessionInViewInterceptor - Class in org.codehaus.groovy.grails.orm.hibernate.support
-
Extends the default spring OSIVI and doesn't flush the session if it has been set
to MANUAL on the session itself.
- GrailsOpenSessionInViewInterceptor() - Constructor for class org.codehaus.groovy.grails.orm.hibernate.support.GrailsOpenSessionInViewInterceptor
-
- GREATER_THAN - Static variable in class grails.orm.HibernateCriteriaBuilder
-
- GREATER_THAN - Static variable in class org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractClausedStaticPersistentMethod.GrailsMethodExpression
-
- GREATER_THAN_OR_EQUAL - Static variable in class grails.orm.HibernateCriteriaBuilder
-
- GREATER_THAN_OR_EQUAL - Static variable in class org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractClausedStaticPersistentMethod.GrailsMethodExpression
-
- GREATER_THAN_OR_EQUAL_PROPERTY - Static variable in class grails.orm.HibernateCriteriaBuilder
-
- GREATER_THAN_PROPERTY - Static variable in class grails.orm.HibernateCriteriaBuilder
-
- GroovyAwareJavassistLazyInitializer - Class in org.codehaus.groovy.grails.orm.hibernate.proxy
-
- GroovyAwareJavassistLazyInitializer(String, Class<?>, Class<?>[], Serializable, Method, Method, CompositeType, SessionImplementor) - Constructor for class org.codehaus.groovy.grails.orm.hibernate.proxy.GroovyAwareJavassistLazyInitializer
-
- GroovyAwareJavassistProxyFactory - Class in org.codehaus.groovy.grails.orm.hibernate.proxy
-
Hibernate's default proxying mechanism proxies Groovy's getMetaClass() method.
- GroovyAwareJavassistProxyFactory() - Constructor for class org.codehaus.groovy.grails.orm.hibernate.proxy.GroovyAwareJavassistProxyFactory
-
- GroovyAwareJoinedSubclassEntityPersister - Class in org.codehaus.groovy.grails.orm.hibernate.persister.entity
-
A customized EntityPersister that creates proxies valid for use with Groovy.
- GroovyAwareJoinedSubclassEntityPersister(PersistentClass, EntityRegionAccessStrategy, SessionFactoryImplementor, Mapping) - Constructor for class org.codehaus.groovy.grails.orm.hibernate.persister.entity.GroovyAwareJoinedSubclassEntityPersister
-
- GroovyAwareSingleTableEntityPersister - Class in org.codehaus.groovy.grails.orm.hibernate.persister.entity
-
A customized EntityPersister that creates proxies valid for use with Groovy.
- GroovyAwareSingleTableEntityPersister(PersistentClass, EntityRegionAccessStrategy, SessionFactoryImplementor, Mapping) - Constructor for class org.codehaus.groovy.grails.orm.hibernate.persister.entity.GroovyAwareSingleTableEntityPersister
-
- groupProperty(String) - Method in class grails.orm.HibernateCriteriaBuilder
-
Adds a projection that allows the criteria's result to be grouped by a property
- groupProperty(String, String) - Method in class grails.orm.HibernateCriteriaBuilder
-
Adds a projection that allows the criteria's result to be grouped by a property
- gt(String, Object) - Method in class grails.orm.HibernateCriteriaBuilder
-
Creates a "greater than" Criterion based on the specified property name and value
- gtAll(String, Closure<?>) - Method in class grails.orm.HibernateCriteriaBuilder
-
Creates a subquery criterion that ensures the given property is greater than all the given returned values
- gtAll(String, QueryableCriteria) - Method in class grails.orm.HibernateCriteriaBuilder
-
Creates a subquery criterion that ensures the given property is greater than all the given returned values
- gte(String, Object) - Method in class grails.orm.HibernateCriteriaBuilder
-
- gtProperty(String, String) - Method in class grails.orm.HibernateCriteriaBuilder
-
Creates a Criterion that tests if the first property is greater than the second property
- SaveOrUpdateEventListener - Class in org.codehaus.groovy.grails.orm.hibernate.events
-
Intermediary class, because def in package name is blocking IntelliJ from compiling.
- SaveOrUpdateEventListener() - Constructor for class org.codehaus.groovy.grails.orm.hibernate.events.SaveOrUpdateEventListener
-
- SavePersistentMethod - Class in org.codehaus.groovy.grails.orm.hibernate.metaclass
-
Follows the semantics of saveOrUpdate of scheduling the object for persistence when a flush occurs.
- SavePersistentMethod(SessionFactory, ClassLoader, GrailsApplication, HibernateDatastore) - Constructor for class org.codehaus.groovy.grails.orm.hibernate.metaclass.SavePersistentMethod
-
- SavePersistentMethod(SessionFactory, ClassLoader, GrailsApplication, GrailsDomainClass, HibernateDatastore) - Constructor for class org.codehaus.groovy.grails.orm.hibernate.metaclass.SavePersistentMethod
-
- secondPassCompile() - Method in class org.codehaus.groovy.grails.orm.hibernate.cfg.DefaultGrailsDomainConfiguration
-
Overrides the default behaviour to including binding of Grails domain classes.
- secondPassCompile() - Method in class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsAnnotationConfiguration
-
Overrides the default behaviour to including binding of Grails domain classes.
- select(String) - Method in class grails.orm.HibernateCriteriaBuilder
-
Use a select query
- SERIALIZABLE - Static variable in class grails.orm.HibernateCriteriaBuilder
-
- serializableProxy() - Method in class org.codehaus.groovy.grails.orm.hibernate.proxy.GroovyAwareJavassistLazyInitializer
-
- sessionFactory - Static variable in class org.codehaus.groovy.grails.orm.hibernate.validation.AbstractPersistentConstraint
-
- sessionFactoryBeanName - Variable in class org.codehaus.groovy.grails.orm.hibernate.cfg.DefaultGrailsDomainConfiguration
-
- sessionFactoryBeanName - Variable in class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsAnnotationConfiguration
-
- sessionFactoryBeanName - Variable in class org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean
-
- SessionFactoryProxy - Class in org.codehaus.groovy.grails.orm.hibernate
-
Proxies the SessionFactory allowing for the underlying SessionFactory instance to be replaced at runtime.
- SessionFactoryProxy() - Constructor for class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- set(int, Object) - Method in class grails.orm.PagedResultList
-
- setApplicationContext(ApplicationContext) - Method in class org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean
-
- setApplicationContext(ApplicationContext) - Method in class org.codehaus.groovy.grails.orm.hibernate.HibernateDatastore
-
- setApplicationContext(ApplicationContext) - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
- setApplicationContext(ApplicationContext) - Method in class org.codehaus.groovy.grails.orm.hibernate.support.ClosureEventTriggeringInterceptor
-
- setApplicationContext(ApplicationContext) - Method in class org.codehaus.groovy.grails.orm.hibernate.validation.AbstractPersistentConstraint
-
- setArguments(Object[]) - Method in class org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractClausedStaticPersistentMethod.GrailsMethodExpression
-
- setBeanClassLoader(ClassLoader) - Method in class org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean
-
- setConfigClass(Class<?>) - Method in class org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean
-
Sets the class to be used for Hibernate Configuration.
- setConversionService(ConversionService) - Method in class grails.orm.HibernateCriteriaBuilder
-
- setCurrentSessionContextClass(Class<?>) - Method in class org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean
-
Sets class to be used for the Hibernate CurrentSessionContext.
- setCurrentSessionContextClass(Class) - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
The class to use for the current session context
- setDataSource(DataSource) - Method in class org.codehaus.groovy.grails.orm.hibernate.support.HibernateDialectDetectorFactoryBean
-
- setDataSourceName(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.cfg.DefaultGrailsDomainConfiguration
-
- setDataSourceName(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsAnnotationConfiguration
-
- setDataSourceName(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean
-
- setDatastores(Map<SessionFactory, HibernateDatastore>) - Method in class org.codehaus.groovy.grails.orm.hibernate.support.ClosureEventTriggeringInterceptor
-
- setDetachedCriteriaValue(QueryableCriteria, Query.PropertyCriterion) - Method in class org.codehaus.groovy.grails.orm.hibernate.query.HibernateQuery
-
- setErrorsOnInstance(Object, Errors) - Method in class org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractSavePersistentMethod
-
Associates the Errors object on the instance
- setFlushMode(FlushModeType) - Method in class org.codehaus.groovy.grails.orm.hibernate.HibernateSession
-
- setFlushModeManual() - Method in class org.codehaus.groovy.grails.orm.hibernate.InstanceApiHelper
-
- setGrailsApplication(GrailsApplication) - Method in class grails.orm.HibernateCriteriaBuilder
-
- setGrailsApplication(GrailsApplication) - Method in class org.codehaus.groovy.grails.orm.hibernate.cfg.DefaultGrailsDomainConfiguration
-
- setGrailsApplication(GrailsApplication) - Method in class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsAnnotationConfiguration
-
- setGrailsApplication(GrailsApplication) - Method in class org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean
-
- setGrailsApplication(GrailsApplication) - Method in class org.codehaus.groovy.grails.orm.hibernate.HibernateDatastore
-
- setGrailsApplication(GrailsApplication) - Method in class org.codehaus.groovy.grails.orm.hibernate.support.HibernateDialectDetectorFactoryBean
-
- setHibernateEventListeners(HibernateEventListeners) - Method in class org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean
-
- setObjectToReadOnly(Object) - Method in class org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractDynamicPersistentMethod
-
This method will set the target object to read-only if it is contained with the Hibernate session,
Preventing Hibernate dirty-checking from persisting the instance
- setObjectToReadWrite(Object, SessionFactory) - Static method in class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsHibernateUtil
-
Sets the target object to read-write, allowing Hibernate to dirty check it and auto-flush changes.
- setObjectToReadWrite(Object) - Method in class org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractDynamicPersistentMethod
-
- setObjectToReadyOnly(Object, SessionFactory) - Static method in class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsHibernateUtil
-
Sets the target object to read-only using the given SessionFactory instance.
- setOsivReadOnly(boolean) - Method in class org.codehaus.groovy.grails.orm.hibernate.GrailsHibernateTemplate
-
- setParameter(Object) - Method in class org.codehaus.groovy.grails.orm.hibernate.validation.UniqueConstraint
-
- setParameterValues(Properties) - Method in class org.codehaus.groovy.grails.orm.hibernate.cfg.IdentityEnumType
-
- setProxyHandler(ProxyHandler) - Method in class org.codehaus.groovy.grails.orm.hibernate.validation.HibernateDomainClassValidator
-
- setProxyIfReloadEnabled(boolean) - Method in class org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean
-
- setReadOnly() - Method in class org.codehaus.groovy.grails.orm.hibernate.support.HibernatePersistenceContextInterceptor
-
- setReadWrite() - Method in class org.codehaus.groovy.grails.orm.hibernate.support.HibernatePersistenceContextInterceptor
-
- setRelatedClassType(GrailsHibernateDomainClassProperty, AssociationType, Type) - Method in class org.codehaus.groovy.grails.orm.hibernate.GrailsHibernateDomainClass
-
- setSessionFactory(SessionFactory) - Method in class org.codehaus.groovy.grails.orm.hibernate.support.HibernatePersistenceContextInterceptor
-
- setSessionFactory(SessionFactory) - Method in class org.codehaus.groovy.grails.orm.hibernate.validation.HibernateDomainClassValidator
-
- setSessionFactoryBeanName(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.cfg.DefaultGrailsDomainConfiguration
-
- setSessionFactoryBeanName(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsAnnotationConfiguration
-
- setSessionFactoryBeanName(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean
-
- setTargetBean(String) - Method in class org.codehaus.groovy.grails.orm.hibernate.SessionFactoryProxy
-
The target bean to proxy
- setTotalCount(int) - Method in class grails.orm.PagedResultList
-
- setTransactionManager(PlatformTransactionManager) - Method in class org.codehaus.groovy.grails.orm.hibernate.ConfigurableLocalSessionFactoryBean
-
- setUniqueResult(boolean) - Method in class grails.orm.HibernateCriteriaBuilder
-
Set whether a unique result should be returned
- setupErrorsProperty(Object) - Method in class org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractDynamicPersistentMethod
-
Initializes the Errors property on target.
- setVendorNameDialectMappings(Properties) - Method in class org.codehaus.groovy.grails.orm.hibernate.support.HibernateDialectDetectorFactoryBean
-
- SHORT - Static variable in class grails.orm.HibernateCriteriaBuilder
-
- shouldMapWithGorm(GrailsDomainClass) - Method in class org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsAnnotationConfiguration
-
- shouldPassReadOnlyToHibernate() - Method in class org.codehaus.groovy.grails.orm.hibernate.GrailsHibernateTemplate
-
- shouldSaveOnCreate() - Method in class org.codehaus.groovy.grails.orm.hibernate.metaclass.FindOrCreateByPersistentMethod
-
- shouldSaveOnCreate() - Method in class org.codehaus.groovy.grails.orm.hibernate.metaclass.FindOrSaveByPersistentMethod
-
- size() - Method in class grails.orm.PagedResultList
-
- SIZE_EQUALS - Static variable in class grails.orm.HibernateCriteriaBuilder
-
- sizeEq(String, int) - Method in class grails.orm.HibernateCriteriaBuilder
-
Creates a Criterion that contrains a collection property by size
- sizeGe(String, int) - Method in class grails.orm.HibernateCriteriaBuilder
-
Creates a Criterion that contrains a collection property to be greater than or equal to the given size
- sizeGt(String, int) - Method in class grails.orm.HibernateCriteriaBuilder
-
Creates a Criterion that contrains a collection property to be greater than the given size
- sizeLe(String, int) - Method in class grails.orm.HibernateCriteriaBuilder
-
Creates a Criterion that contrains a collection property to be less than or equal to the given size
- sizeLt(String, int) - Method in class grails.orm.HibernateCriteriaBuilder
-
Creates a Criterion that contrains a collection property to be less than to the given size
- sizeNe(String, int) - Method in class grails.orm.HibernateCriteriaBuilder
-
Creates a Criterion that contrains a collection property to be not equal to the given size
- sqlGroupProjection(String, String, List<String>, List<Type>) - Method in class grails.orm.HibernateCriteriaBuilder
-
Adds a sql projection to the criteria
- sqlProjection(String, String, Type) - Method in class grails.orm.HibernateCriteriaBuilder
-
Adds a sql projection to the criteria
- sqlProjection(String, List<String>, List<Type>) - Method in class grails.orm.HibernateCriteriaBuilder
-
Adds a sql projection to the criteria
- sqlRestriction(String) - Method in class grails.orm.HibernateCriteriaBuilder
-
Applies a sql restriction to the results to allow something like:
- sqlRestriction(String, List<?>) - Method in class grails.orm.HibernateCriteriaBuilder
-
Applies a sql restriction to the results to allow something like:
- sqlTypes() - Method in class org.codehaus.groovy.grails.orm.hibernate.cfg.IdentityEnumType
-
- STRING - Static variable in class grails.orm.HibernateCriteriaBuilder
-
- subList(int, int) - Method in class grails.orm.PagedResultList
-
- sum(String) - Method in class grails.orm.HibernateCriteriaBuilder
-
Adds a projection that allows the criteria to retrieve the sum of the results of a property
- sum(String, String) - Method in class grails.orm.HibernateCriteriaBuilder
-
Adds a projection that allows the criteria to retrieve the sum of the results of a property
- supports(Class) - Static method in class org.codehaus.groovy.grails.orm.hibernate.cfg.IdentityEnumType
-
- supports(Class) - Method in class org.codehaus.groovy.grails.orm.hibernate.validation.AbstractPersistentConstraint
-
Returns whether the constraint supports being applied against the specified type;
- supportsEventType(Class<? extends ApplicationEvent>) - Method in class org.codehaus.groovy.grails.orm.hibernate.EventTriggeringInterceptor
- synchronizeEntityUpdateActionState(AbstractPreDatabaseOperationEvent, Object, HashMap<Integer, Object>) - Method in class org.codehaus.groovy.grails.orm.hibernate.support.ClosureEventListener
-