A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

AbstractClosureEventTriggeringInterceptor - Class in org.grails.orm.hibernate.support
Abstract class for defining the event triggering interceptor
AbstractGrailsDomainBinder - Class in org.grails.orm.hibernate.cfg
Handles the binding Grails domain classes and properties to the Hibernate runtime meta model.
AbstractHibernateConnectionSourceFactory - Class in org.grails.orm.hibernate.connections
Constructs a Hibernate SessionFactory
AbstractHibernateCriteriaBuilder - Class in org.grails.orm.hibernate.query
Abstract super class for sharing code between Hibernate 3 and 4 implementations of HibernateCriteriaBuilder
AbstractHibernateCriteriaBuilder.LogicalExpression - Class in org.grails.orm.hibernate.query
instances of this class are pushed onto the logicalExpressionStack to represent all the unfinished "and", "or", and "not" expressions.
AbstractHibernateCriteriaBuilder(java.lang.Class, org.hibernate.SessionFactory, boolean) - Constructor in AbstractHibernateCriteriaBuilder
AbstractHibernateCriterionAdapter - Class in org.grails.orm.hibernate.query
Adapts Grails datastore API to Hibernate API
AbstractHibernateCriterionAdapter.CriterionAdaptor - Class in org.grails.orm.hibernate.query
AbstractHibernateCriterionAdapter() - Constructor in AbstractHibernateCriterionAdapter
abstractHibernateCriterionAdapter - Field in AbstractHibernateQuery
AbstractHibernateDatastore - Class in org.grails.orm.hibernate
Datastore implementation that uses a Hibernate SessionFactory underneath.
AbstractHibernateDatastore.FlushMode - Enum in org.grails.orm.hibernate
We use a separate enum here because the classes differ between Hibernate 3 and 4
AbstractHibernateDatastore(org.grails.datastore.mapping.model.MappingContext, org.hibernate.SessionFactory, org.springframework.core.env.PropertyResolver) - Constructor in AbstractHibernateDatastore
AbstractHibernateEventListener - Class in org.grails.orm.hibernate.event.listener
AbstractHibernateEventListener(org.grails.orm.hibernate.AbstractHibernateDatastore) - Constructor in AbstractHibernateEventListener
AbstractHibernateGormInstanceApi - Class in org.grails.orm.hibernate
Abstract extension of the GormInstanceApi class that provides common logic shared by Hibernate 3 and Hibernate 4
AbstractHibernateGormInstanceApi(Class<D>, org.grails.orm.hibernate.AbstractHibernateDatastore, java.lang.ClassLoader, org.grails.orm.hibernate.IHibernateTemplate) - Constructor in AbstractHibernateGormInstanceApi
AbstractHibernateGormStaticApi - Class in org.grails.orm.hibernate
Abstract implementation of the Hibernate static API for GORM, providing String-based method implementations
AbstractHibernateGormStaticApi.1 - Class in org.grails.orm.hibernate
AbstractHibernateGormStaticApi.1() - Constructor in AbstractHibernateGormStaticApi.1
AbstractHibernateGormStaticApi(Class<D>, org.grails.orm.hibernate.HibernateDatastore, List<FinderMethod>, org.springframework.transaction.PlatformTransactionManager) - Constructor in AbstractHibernateGormStaticApi
AbstractHibernateGormValidationApi - Class in org.grails.orm.hibernate
AbstractHibernateGormValidationApi(Class<D>, org.grails.orm.hibernate.AbstractHibernateDatastore, java.lang.ClassLoader) - Constructor in AbstractHibernateGormValidationApi
AbstractHibernateQuery - Class in org.grails.orm.hibernate.query
Bridges the Query API with the Hibernate Criteria API
AbstractHibernateQuery.CriteriaAndAlias - Class in org.grails.orm.hibernate.query
AbstractHibernateQuery.HibernateAssociationQuery - Class in org.grails.orm.hibernate.query
AbstractHibernateQuery.HibernateJunction - Class in org.grails.orm.hibernate.query
AbstractHibernateQuery.HibernateProjectionList - Class in org.grails.orm.hibernate.query
AbstractHibernateQuery(org.hibernate.Criteria, org.grails.orm.hibernate.AbstractHibernateSession, org.grails.datastore.mapping.model.PersistentEntity, java.lang.String) - Constructor in AbstractHibernateQuery
AbstractHibernateSession - Class in org.grails.orm.hibernate
Session implementation that wraps a Hibernate Session.
AbstractHibernateSession(org.grails.orm.hibernate.AbstractHibernateDatastore, org.hibernate.SessionFactory) - Constructor in AbstractHibernateSession
AbstractMultipleDataSourceAggregatePersistenceContextInterceptor - Class in org.grails.plugin.hibernate.support
Abstract implementation of the grails.persistence.support.PersistenceContextInterceptor interface that supports multiple data sources
AbstractMultipleDataSourceAggregatePersistenceContextInterceptor(org.grails.orm.hibernate.AbstractHibernateDatastore) - Constructor in AbstractMultipleDataSourceAggregatePersistenceContextInterceptor
add(org.hibernate.criterion.Criterion) - Method in AbstractHibernateQuery
add(org.hibernate.criterion.Criterion) - Method in AbstractHibernateQuery.HibernateAssociationQuery
add(org.hibernate.criterion.Criterion) - Method in AbstractHibernateQuery.HibernateJunction
add(org.hibernate.criterion.Projection) - Method in AbstractHibernateQuery.HibernateProjectionList
addAnnotatedClass(java.lang.Class) - Method in HibernateMappingContextConfiguration
addAnnotatedClasses(Class<?>) - Method in HibernateMappingContextConfiguration
Add the given annotated classes in a batch.
addAssociationQueryCriterionAdapters() - Method in AbstractHibernateCriterionAdapter
additionalProperties - Property in HibernateConnectionSourceSettings.HibernateSettings
Any additional properties that should be passed through as is.
addJunctionCriterionAdapters() - Method in AbstractHibernateCriterionAdapter
addLikeCriterionAdapters() - Method in AbstractHibernateCriterionAdapter
addMultiTenantFilterIfNecessary(org.grails.orm.hibernate.cfg.HibernatePersistentEntity, org.hibernate.mapping.PersistentClass, org.hibernate.boot.spi.InFlightMetadataCollector, java.lang.String) - Method in GrailsDomainBinder
Add a Hibernate filter for multitenancy if the persistent class is multitenant
addPackages(java.lang.String) - Method in HibernateMappingContextConfiguration
Add the given annotated packages in a batch.
addProjectionToList(org.hibernate.criterion.Projection, java.lang.String) - Method in AbstractHibernateCriteriaBuilder
Adds a projection to the projectList for the given alias
addPropertyComparisonCriterionAdapters() - Method in AbstractHibernateCriterionAdapter
addRangeQueryCriterionAdapters() - Method in AbstractHibernateCriterionAdapter
addSimpleCriterionAdapters() - Method in AbstractHibernateCriterionAdapter
addSimplePropertyCriterionAdapters() - Method in AbstractHibernateCriterionAdapter
addSizeComparisonCriterionAdapters() - Method in AbstractHibernateCriterionAdapter
addSubqueryCriterionAdapters() - Method in AbstractHibernateCriterionAdapter
addTenantForSchema(java.lang.String) - Method in HibernateDatastore
addToCriteria(org.hibernate.criterion.Criterion) - Method in AbstractHibernateCriteriaBuilder
adds and returns the given criterion to the currently active criteria set.
addToCriteria(org.hibernate.criterion.Criterion) - Method in AbstractHibernateQuery
addToCriteria(org.hibernate.criterion.Criterion) - Method in AbstractHibernateQuery.HibernateAssociationQuery
addUnderscore(java.lang.String, java.lang.String) - Method in GrailsDomainBinder
AFTER_DELETE_EVENT - Field in ClosureEventTriggeringInterceptor
deprecated:
Use AbstractPersistenceEvent#AFTER_DELETE_EVENT#AFTER_DELETE_EVENT instead
AFTER_INSERT_EVENT - Field in ClosureEventTriggeringInterceptor
deprecated:
Use AbstractPersistenceEvent#AFTER_INSERT_EVENT#AFTER_INSERT_EVENT instead
AFTER_LOAD_EVENT - Field in ClosureEventTriggeringInterceptor
deprecated:
Use AbstractPersistenceEvent#AFTER_LOAD_EVENT#AFTER_LOAD_EVENT instead
AFTER_UPDATE_EVENT - Field in ClosureEventTriggeringInterceptor
deprecated:
Use AbstractPersistenceEvent#AFTER_UPDATE_EVENT#AFTER_UPDATE_EVENT instead
afterPropertiesSet() - Method in HibernateDialectDetectorFactoryBean
afterPropertiesSet() - Method in HibernateMappingContextSessionFactoryBean
AggregatePersistenceContextInterceptor - Class in org.grails.plugin.hibernate.support
Concrete implementation of the AbstractMultipleDataSourceAggregatePersistenceContextInterceptor class for Hibernate 4
AggregatePersistenceContextInterceptor(org.grails.orm.hibernate.AbstractHibernateDatastore) - Constructor in AggregatePersistenceContextInterceptor
ALIAS - Field in AbstractHibernateCriteriaBuilder
ALIAS - Field in AbstractHibernateCriterionAdapter
alias - Field in AbstractHibernateQuery
alias - Field in AbstractHibernateQuery.CriteriaAndAlias
alias - Field in AbstractHibernateQuery.HibernateAssociationQuery
alias - Field in AbstractHibernateQuery.HibernateJunction
aliasCount - Field in AbstractHibernateCriteriaBuilder
aliasCount - Field in AbstractHibernateQuery
aliasInstanceStack - Field in AbstractHibernateCriteriaBuilder
aliasInstanceStack - Field in AbstractHibernateQuery
aliasMap - Field in AbstractHibernateCriteriaBuilder
aliasStack - Field in AbstractHibernateCriteriaBuilder
aliasStack - Field in AbstractHibernateQuery
allEq(Map<String,Object>) - Method in AbstractHibernateCriteriaBuilder
allEq(Map<String,Object>) - Method in AbstractHibernateQuery
allEq(Map<String,Object>) - Method in AbstractHibernateQuery.HibernateAssociationQuery
allowCreate - Field in GrailsSessionContext
allQualifiers(org.grails.datastore.mapping.core.Datastore, org.grails.datastore.mapping.model.PersistentEntity) - Method in HibernateDatastore
ALWAYS - Enum Constant in AbstractHibernateDatastore.FlushMode
ALWAYS - Enum Constant in HibernateConnectionSourceSettings.HibernateSettings.FlushSettings.FlushMode
AND - Field in AbstractHibernateCriteriaBuilder
and(org.hibernate.criterion.Criterion, org.hibernate.criterion.Criterion) - Method in AbstractHibernateQuery
and(org.hibernate.criterion.Criterion, org.hibernate.criterion.Criterion) - Method in AbstractHibernateQuery.HibernateAssociationQuery
annotatedClasses - Property in HibernateConnectionSourceSettings.HibernateSettings
Specify annotated entity classes to register with this Hibernate SessionFactory.
annotatedPackages - Property in HibernateConnectionSourceSettings.HibernateSettings
Specify the names of annotated packages, for which package-level annotation metadata will be read.
appendListeners(org.hibernate.event.service.spi.EventListenerRegistry, EventType<T>, Map<String,Object>) - Method in EventListenerIntegrator
applicationContext - Property in HibernateDatastoreFactoryBean
applicationContext - Field in HibernateMappingContextSessionFactoryBean
applyDefaultSortOrderAndCaching() - Method in AbstractHibernateQuery
applyFetchStrategies() - Method in AbstractHibernateQuery
applyFlushMode(org.hibernate.Session, boolean) - Method in GrailsHibernateTemplate
Apply the flush mode that's been specified for this accessor to the given Session.
applyFlushMode(org.hibernate.Session) - Method in GrailsOpenSessionInViewInterceptor
applyManualFlush(org.hibernate.Session) - Method in AbstractHibernateGormValidationApi
applyManualFlush(org.hibernate.Session) - Method in HibernateGormValidationApi
applyNewInstance(org.hibernate.cfg.Configuration) - Method in GrailsIdentifierGeneratorFactory
applySettings(org.hibernate.Criteria) - Method in GrailsHibernateTemplate
applySettings(org.hibernate.Criteria) - Method in IHibernateTemplate
applySubCriteriaToJunction(org.grails.datastore.mapping.model.PersistentEntity, org.grails.orm.hibernate.query.AbstractHibernateQuery, List<Query.Criterion>, org.hibernate.criterion.Junction, java.lang.String) - Method in AbstractHibernateCriterionAdapter
args - Field in AbstractHibernateCriteriaBuilder.LogicalExpression
ARGUMENT_CACHE - Field in GrailsHibernateUtil
ARGUMENT_DEEP_VALIDATE - Field in AbstractHibernateGormValidationApi
ARGUMENT_FETCH - Field in GrailsHibernateUtil
ARGUMENT_FETCH_SIZE - Field in GrailsHibernateUtil
ARGUMENT_FLUSH_MODE - Field in GrailsHibernateUtil
ARGUMENT_IGNORE_CASE - Field in GrailsHibernateUtil
ARGUMENT_LOCK - Field in GrailsHibernateUtil
ARGUMENT_MAX - Field in GrailsHibernateUtil
ARGUMENT_OFFSET - Field in GrailsHibernateUtil
ARGUMENT_ORDER - Field in GrailsHibernateUtil
ARGUMENT_READ_ONLY - Field in GrailsHibernateUtil
ARGUMENT_SORT - Field in GrailsHibernateUtil
ARGUMENT_TIMEOUT - Field in GrailsHibernateUtil
assemble(java.io.Serializable, java.lang.Object) - Method in IdentityEnumType
assocationCriteria - Field in AbstractHibernateQuery.HibernateAssociationQuery
associationPath - Field in AbstractHibernateQuery.CriteriaAndAlias
associationStack - Field in AbstractHibernateCriteriaBuilder
associationStack - Field in AbstractHibernateQuery
attach(D) - Method in AbstractHibernateGormInstanceApi
attach(java.lang.Object) - Method in AbstractHibernateSession
author - Property in HibernateGrailsPlugin
AUTO - Enum Constant in AbstractHibernateDatastore.FlushMode
AUTO - Enum Constant in HibernateConnectionSourceSettings.HibernateSettings.FlushSettings.FlushMode
autoAssociateBidirectionalOneToOnes(org.grails.datastore.mapping.model.PersistentEntity, java.lang.Object) - Method in HibernateRuntimeUtils
autoFlush - Property in AbstractHibernateGormInstanceApi
autoImport(boolean) - Method in HibernateMappingBuilder
autoImport - Property in Mapping
Sets whether packaged domain classes should be auto-imported in HQL queries
autoTimestamp(boolean) - Method in HibernateMappingBuilder
Set whether auto time stamping should occur for last_updated and date_created columns
autoTimestampEventListener - Field in AbstractHibernateDatastore
autowire(boolean) - Method in HibernateMappingBuilder
avg(java.lang.String, java.lang.String) - Method in AbstractHibernateCriteriaBuilder
Adds a projection that allows the criteria to return the property average value
avg(java.lang.String) - Method in AbstractHibernateQuery.HibernateProjectionList

B

BACKTICK - Field in GrailsDomainBinder
batchSize(java.lang.Integer) - Method in HibernateMappingBuilder
Configures the batch-size used for lazy loading
batchSize - Property in Mapping
The batch size to use for lazy loading
batchSize - Property in PropertyConfig
The batch size used for lazy loading
BEAN_ID - Field in SessionFactoryHolder
BEFORE_DELETE_EVENT - Field in ClosureEventTriggeringInterceptor
deprecated:
Use AbstractPersistenceEvent#BEFORE_DELETE_EVENT#BEFORE_DELETE_EVENT instead
BEFORE_INSERT_EVENT - Field in ClosureEventTriggeringInterceptor
deprecated:
Use AbstractPersistenceEvent#BEFORE_INSERT_EVENT#BEFORE_INSERT_EVENT instead
BEFORE_LOAD_EVENT - Field in ClosureEventTriggeringInterceptor
deprecated:
Use AbstractPersistenceEvent#BEFORE_LOAD_EVENT#BEFORE_LOAD_EVENT instead
BEFORE_UPDATE_EVENT - Field in ClosureEventTriggeringInterceptor
deprecated:
Use AbstractPersistenceEvent#BEFORE_UPDATE_EVENT#BEFORE_UPDATE_EVENT instead
begin() - Method in HibernateJtaTransactionManagerAdapter
beginTransaction(org.springframework.transaction.TransactionDefinition) - Method in AbstractHibernateSession
BETWEEN - Field in AbstractHibernateCriteriaBuilder
between(java.lang.String, java.lang.Object, java.lang.Object) - Method in AbstractHibernateQuery
between(java.lang.String, java.lang.Object, java.lang.Object) - Method in AbstractHibernateQuery.HibernateAssociationQuery
bidiMap - Field in IdentityEnumType
BIG_DECIMAL - Field in HibernateCriteriaBuilder
BIG_INTEGER - Field in HibernateCriteriaBuilder
BINARY - Field in HibernateCriteriaBuilder
bindClass(org.grails.datastore.mapping.model.PersistentEntity, org.hibernate.mapping.PersistentClass, org.hibernate.boot.spi.InFlightMetadataCollector) - Method in GrailsDomainBinder
Binds the specified persistant class to the runtime model based on the properties defined in the domain class
bindCollection(org.grails.datastore.mapping.model.types.ToMany, java.util.Collection, org.hibernate.mapping.PersistentClass, org.hibernate.boot.spi.InFlightMetadataCollector, java.lang.String, java.lang.String) - Method in GrailsDomainBinder
First pass to bind collection to Hibernate metamodel, sets up second pass
bindCollectionForPropertyConfig(java.util.Collection, org.grails.orm.hibernate.cfg.PropertyConfig) - Method in GrailsDomainBinder
bindCollectionSecondPass(org.grails.datastore.mapping.model.types.ToMany, org.hibernate.boot.spi.InFlightMetadataCollector, Map<?,?>, java.util.Collection, java.lang.String) - Method in GrailsDomainBinder
bindCollectionTable(org.grails.datastore.mapping.model.types.ToMany, org.hibernate.boot.spi.InFlightMetadataCollector, java.util.Collection, org.grails.orm.hibernate.cfg.Table, java.lang.String) - Method in GrailsDomainBinder
bindCollectionWithJoinTable(org.grails.datastore.mapping.model.types.ToMany, org.hibernate.boot.spi.InFlightMetadataCollector, java.util.Collection, org.grails.orm.hibernate.cfg.PropertyConfig, java.lang.String) - Method in GrailsDomainBinder
bindColumn(org.grails.datastore.mapping.model.PersistentProperty, org.grails.datastore.mapping.model.PersistentProperty, org.hibernate.mapping.Column, org.grails.orm.hibernate.cfg.ColumnConfig, java.lang.String, org.grails.orm.hibernate.cfg.Table, java.lang.String) - Method in GrailsDomainBinder
Binds a Column instance to the Hibernate meta model
bindColumnConfigToColumn(org.grails.datastore.mapping.model.PersistentProperty, org.hibernate.mapping.Column, org.grails.orm.hibernate.cfg.ColumnConfig) - Method in GrailsDomainBinder
bindComponent(org.hibernate.mapping.Component, org.grails.datastore.mapping.model.types.Embedded, boolean, org.hibernate.boot.spi.InFlightMetadataCollector, java.lang.String) - Method in GrailsDomainBinder
Binds a Hibernate component type using the given GrailsDomainClassProperty instance
bindComponentProperty(org.hibernate.mapping.Component, org.grails.datastore.mapping.model.PersistentProperty, org.grails.datastore.mapping.model.PersistentProperty, org.hibernate.mapping.PersistentClass, java.lang.String, org.grails.orm.hibernate.cfg.Table, org.hibernate.boot.spi.InFlightMetadataCollector, java.lang.String) - Method in GrailsDomainBinder
bindCompositeId(org.grails.datastore.mapping.model.PersistentEntity, org.hibernate.mapping.RootClass, org.grails.orm.hibernate.cfg.CompositeIdentity, org.hibernate.boot.spi.InFlightMetadataCollector, java.lang.String) - Method in GrailsDomainBinder
bindCompositeIdentifierToManyToOne(org.grails.datastore.mapping.model.types.Association, org.hibernate.mapping.SimpleValue, org.grails.orm.hibernate.cfg.CompositeIdentity, org.grails.datastore.mapping.model.PersistentEntity, java.lang.String, java.lang.String) - Method in GrailsDomainBinder
bindDependentKeyValue(org.grails.datastore.mapping.model.PersistentProperty, org.hibernate.mapping.DependantValue, org.hibernate.boot.spi.InFlightMetadataCollector, java.lang.String) - Method in GrailsDomainBinder
Binds the primary key value column
bindDiscriminatorProperty(org.grails.orm.hibernate.cfg.Table, org.hibernate.mapping.RootClass, org.hibernate.boot.spi.InFlightMetadataCollector) - Method in GrailsDomainBinder
Creates and binds the discriminator property used in table-per-hierarchy inheritance to discriminate between sub class instances
bindEnumType(org.grails.datastore.mapping.model.PersistentProperty, Class<?>, org.hibernate.mapping.SimpleValue, java.lang.String) - Method in GrailsDomainBinder
bindIdentity(org.grails.orm.hibernate.cfg.HibernatePersistentEntity, org.hibernate.mapping.RootClass, org.hibernate.boot.spi.InFlightMetadataCollector, org.grails.orm.hibernate.cfg.Mapping, java.lang.String) - Method in GrailsDomainBinder
bindIndex(java.lang.String, org.hibernate.mapping.Column, org.grails.orm.hibernate.cfg.ColumnConfig, org.grails.orm.hibernate.cfg.Table) - Method in GrailsDomainBinder
bindJoinedSubClass(org.grails.orm.hibernate.cfg.HibernatePersistentEntity, org.hibernate.mapping.JoinedSubclass, org.hibernate.boot.spi.InFlightMetadataCollector, org.grails.orm.hibernate.cfg.Mapping, java.lang.String) - Method in GrailsDomainBinder
Binds a joined sub-class mapping using table-per-subclass
bindListSecondPass(org.grails.datastore.mapping.model.types.ToMany, org.hibernate.boot.spi.InFlightMetadataCollector, Map<?,?>, org.hibernate.mapping.List, java.lang.String) - Method in GrailsDomainBinder
bindManyToMany(org.grails.datastore.mapping.model.types.Association, org.hibernate.mapping.ManyToOne, org.hibernate.boot.spi.InFlightMetadataCollector, java.lang.String) - Method in GrailsDomainBinder
Binds a many-to-many relationship.
bindManyToOne(org.grails.datastore.mapping.model.types.Association, org.hibernate.mapping.ManyToOne, java.lang.String, org.hibernate.boot.spi.InFlightMetadataCollector, java.lang.String) - Method in GrailsDomainBinder
Binds a many-to-one relationship to the
bindManyToOneValues(org.grails.datastore.mapping.model.types.Association, org.hibernate.mapping.ManyToOne) - Method in GrailsDomainBinder
bindMapSecondPass(org.grails.datastore.mapping.model.types.ToMany, org.hibernate.boot.spi.InFlightMetadataCollector, Map<?,?>, org.hibernate.mapping.Map, java.lang.String) - Method in GrailsDomainBinder
bindNaturalIdentifier(org.grails.orm.hibernate.cfg.Table, org.grails.orm.hibernate.cfg.Mapping, org.hibernate.mapping.PersistentClass) - Method in GrailsDomainBinder
bindNumericColumnConstraints(org.hibernate.mapping.Column, org.grails.datastore.mapping.model.PersistentProperty, org.grails.orm.hibernate.cfg.ColumnConfig) - Method in GrailsDomainBinder
Interrogates the specified constraints looking for any constraints that would limit the precision and/or scale of the property's value.
bindOneToMany(org.grails.datastore.mapping.model.types.OneToMany, org.hibernate.mapping.OneToMany, org.hibernate.boot.spi.InFlightMetadataCollector) - Method in GrailsDomainBinder
bindOneToOne(org.grails.datastore.mapping.model.types.OneToOne, org.hibernate.mapping.OneToOne, java.lang.String, java.lang.String) - Method in GrailsDomainBinder
bindOneToOneInternal(org.grails.datastore.mapping.model.types.OneToOne, org.hibernate.mapping.OneToOne, java.lang.String) - Method in GrailsDomainBinder
bindProperty(org.grails.datastore.mapping.model.PersistentProperty, org.grails.datastore.mapping.config.Property, org.hibernate.boot.spi.InFlightMetadataCollector) - Method in GrailsDomainBinder
Binds a property to Hibernate runtime meta model.
bindRoot(org.grails.orm.hibernate.cfg.HibernatePersistentEntity, org.hibernate.boot.spi.InFlightMetadataCollector, java.lang.String) - Method in GrailsDomainBinder
Binds a root class (one with no super classes) to the runtime meta model based on the supplied Grails domain class
bindRootPersistentClassCommonValues(org.grails.orm.hibernate.cfg.HibernatePersistentEntity, org.hibernate.mapping.RootClass, org.hibernate.boot.spi.InFlightMetadataCollector, java.lang.String) - Method in GrailsDomainBinder
bindSimpleId(org.grails.datastore.mapping.model.PersistentProperty, org.hibernate.mapping.RootClass, org.hibernate.boot.spi.InFlightMetadataCollector, org.grails.orm.hibernate.cfg.Identity, java.lang.String) - Method in GrailsDomainBinder
bindSimpleValue(java.lang.String, org.hibernate.mapping.SimpleValue, boolean, java.lang.String, org.hibernate.boot.spi.InFlightMetadataCollector) - Method in GrailsDomainBinder
Binds a value for the specified parameters to the meta model.
bindStringColumnConstraints(org.hibernate.mapping.Column, org.grails.datastore.mapping.model.PersistentProperty) - Method in GrailsDomainBinder
Interrogates the specified constraints looking for any constraints that would limit the length of the property's value.
bindSubClass(org.grails.orm.hibernate.cfg.HibernatePersistentEntity, org.hibernate.mapping.Subclass, org.hibernate.boot.spi.InFlightMetadataCollector, java.lang.String) - Method in GrailsDomainBinder
Binds a sub-class using table-per-hierarchy inheritance mapping
bindSubClasses(org.grails.orm.hibernate.cfg.HibernatePersistentEntity, org.hibernate.mapping.PersistentClass, org.hibernate.boot.spi.InFlightMetadataCollector, java.lang.String) - Method in GrailsDomainBinder
Binds the sub classes of a root class using table-per-heirarchy inheritance mapping
bindUnidirectionalOneToMany(org.grails.datastore.mapping.model.types.OneToMany, org.hibernate.boot.spi.InFlightMetadataCollector, java.util.Collection) - Method in GrailsDomainBinder
Binds a unidirectional one-to-many creating a psuedo back reference property in the process.
bindUnidirectionalOneToManyInverseValues(org.grails.datastore.mapping.model.types.ToMany, org.hibernate.mapping.ManyToOne) - Method in GrailsDomainBinder
Parameters:
property - The property to bind
bindUnionSubclass(org.grails.orm.hibernate.cfg.HibernatePersistentEntity, org.hibernate.mapping.UnionSubclass, org.hibernate.boot.spi.InFlightMetadataCollector, java.lang.String) - Method in GrailsDomainBinder
bindVersion(org.grails.datastore.mapping.model.PersistentProperty, org.hibernate.mapping.RootClass, org.hibernate.boot.spi.InFlightMetadataCollector, java.lang.String) - Method in GrailsDomainBinder
BLOB - Field in HibernateCriteriaBuilder
BOOLEAN - Field in HibernateCriteriaBuilder
build() - Method in HibernateConnectionSourceSettingsBuilder
buildConfiguration(java.lang.String, ConnectionSource<DataSource,DataSourceSettings>, org.grails.orm.hibernate.connections.HibernateConnectionSourceSettings) - Method in HibernateConnectionSourceFactory
buildCriteria(Closure<?>) - Method in AbstractHibernateCriteriaBuilder
buildDiscriminatorSet(org.grails.orm.hibernate.cfg.HibernatePersistentEntity) - Method in GrailsDomainBinder
buildJunction(org.hibernate.criterion.Junction, List<Criterion>) - Method in AbstractHibernateCriteriaBuilder.LogicalExpression
buildNamedParameterQueryFromGString(groovy.lang.GString, java.util.Map) - Method in AbstractHibernateGormStaticApi
Processes a query converting GString expressions into parameters
buildOrderByClause(java.lang.String, org.hibernate.mapping.PersistentClass, java.lang.String, java.lang.String) - Method in GrailsDomainBinder
buildOrdinalParameterQueryFromGString(groovy.lang.GString, java.util.List) - Method in AbstractHibernateGormStaticApi
Processes a query converting GString expressions into parameters
buildPropertyAccess(java.lang.Class, java.lang.String) - Method in TraitPropertyAccessStrategy
buildRuntimeSettings(java.lang.String, org.springframework.core.env.PropertyResolver, F) - Method in AbstractHibernateConnectionSourceFactory
buildSessionFactory() - Method in HibernateMappingContextConfiguration
buildSessionFactory() - Method in HibernateMappingContextSessionFactoryBean
buildSettings(java.lang.String, org.springframework.core.env.PropertyResolver, F, boolean) - Method in AbstractHibernateConnectionSourceFactory
BYTE - Field in HibernateCriteriaBuilder

C

cache(boolean) - Method in AbstractHibernateCriteriaBuilder
Whether to use the query cache
cache(boolean) - Method in AbstractHibernateQuery
cache - Property in HibernateConnectionSourceSettings.HibernateSettings
Cache settings
cache(boolean) - Method in HibernateMappingBuilder
cache - Property in Mapping
Caching config
cache - Property in PropertyConfig
The cache configuration
cacheableMappingLocations - Property in HibernateConnectionSourceSettings.HibernateSettings
Set locations of cacheable Hibernate mapping files, for example as web app resource "/WEB-INF/mapping/example.hbm.xml".
CacheConfig - Class in org.grails.orm.hibernate.cfg
Defines the cache configuration.
CacheConfig() - Constructor in CacheConfig
cacheCriteriaByMapping(org.grails.orm.hibernate.AbstractHibernateDatastore, Class<?>, org.hibernate.Criteria) - Method in GrailsHibernateUtil
cacheCriteriaMapping() - Method in AbstractHibernateCriteriaBuilder
cacheCriteriaMapping() - Method in HibernateCriteriaBuilder
cachedShouldTrigger - Field in AbstractHibernateEventListener
cacheQueries - Field in GrailsHibernateTemplate
calculatePropertyName(java.lang.String) - Method in AbstractHibernateCriteriaBuilder
Calculates the property name including any alias paths
calculatePropertyName(java.lang.String, java.lang.String) - Method in AbstractHibernateCriterionAdapter
calculatePropertyName(java.lang.String) - Method in AbstractHibernateQuery
calculatePropertyValue(java.lang.Object) - Method in AbstractHibernateCriteriaBuilder
Calculates the property value, converting GStrings if necessary
calculateTableForMany(org.grails.datastore.mapping.model.types.ToMany, java.lang.String) - Method in GrailsDomainBinder
Calculates the mapping table for a many-to-many.
CALENDAR_DATE - Field in HibernateCriteriaBuilder
CALENDAR - Field in HibernateCriteriaBuilder
call(java.lang.Object) - Method in AbstractHibernateDatastore
call() - Method in ClosureEventListener
canBindOneToOneWithSingleColumnAndForeignKey(org.grails.datastore.mapping.model.types.Association) - Method in GrailsDomainBinder
canDirtyCheck(java.lang.Object, org.hibernate.persister.entity.EntityPersister, org.hibernate.Session) - Method in GrailsEntityDirtinessStrategy
CASCADE_ALL_DELETE_ORPHAN - Field in GrailsDomainBinder
CASCADE_ALL - Field in GrailsDomainBinder
CASCADE_NONE - Field in GrailsDomainBinder
CASCADE_SAVE_UPDATE - Field in GrailsDomainBinder
catalog - Property in Table
The table catalog
chainedTransactionManagerPostProcessor() - Method in HibernateGormAutoConfiguration
CHAR_ARRAY - Field in HibernateCriteriaBuilder
CHARACTER_ARRAY - Field in HibernateCriteriaBuilder
CHARACTER - Field in HibernateCriteriaBuilder
checkHasSingleColumn() - Method in PropertyConfig
CLASS - Field in HibernateCriteriaBuilder
classLoader - Field in AbstractHibernateGormInstanceApi
classLoader - Field in AbstractHibernateGormValidationApi
classLoader - Field in HibernateGormStaticApi
classLoader - Field in HibernateMappingContextSessionFactoryBean
className - Property in HibernateMappingBuilder
clear(java.lang.Object) - Method in AbstractHibernateSession
clear() - Method in AbstractMultipleDataSourceAggregatePersistenceContextInterceptor
clear() - Method in GrailsHibernateTemplate
clear() - Method in HibernatePersistenceContextInterceptor
clear() - Method in IHibernateTemplate
clearMappingCache(Class<?>) - Method in AbstractGrailsDomainBinder
clearMappingCache(Class<?>) - Method in GrailsDomainBinder
CLOB - Field in HibernateCriteriaBuilder
clone() - Method in HibernateQuery
clone() - Method in PropertyConfig
cloneGlobalConstraint() - Method in Mapping
close() - Method in AbstractHibernateDatastore
close() - Method in HibernateConnectionSource
closeSession() - Method in AbstractHibernateCriteriaBuilder
Closes the session if it is copen
closeSession() - Method in HibernateCriteriaBuilder
Closes the session if it is copen
CloseSuppressingInvocationHandler(org.hibernate.Session) - Constructor in GrailsHibernateTemplate.CloseSuppressingInvocationHandler
ClosureEventListener - Class in org.grails.orm.hibernate.support
ClosureEventListener(org.grails.datastore.mapping.model.PersistentEntity, boolean, java.util.List) - Constructor in ClosureEventListener
ClosureEventTriggeringInterceptor - Class in org.grails.orm.hibernate.support
Listens for Hibernate events and publishes corresponding Datastore events.
closureEventTriggeringInterceptorClass - Property in HibernateConnectionSourceSettings.HibernateSettings
A subclass of AbstractClosureEventTriggeringInterceptor
column - Property in DiscriminatorConfig
The column configuration
column - Property in Identity
The column to map to
column - Property in JoinTable
The child id column
column(java.lang.String) - Method in PropertyConfig
Configure a column
column(java.util.Map) - Method in PropertyDefinitionDelegate
ColumnConfig - Class in org.grails.orm.hibernate.cfg
Defines a column within the mapping.
ColumnConfig() - Constructor in ColumnConfig
columns(groovy.lang.Closure) - Method in HibernateMappingBuilder
columns - Property in Mapping
The configuration for each property
columns - Property in PropertyConfig
The columns
comment - Property in ColumnConfig
A comment to apply to the column
comment(java.lang.String) - Method in HibernateMappingBuilder
comment - Property in Mapping
DDL comment.
COMMIT - Enum Constant in AbstractHibernateDatastore.FlushMode
COMMIT - Enum Constant in HibernateConnectionSourceSettings.HibernateSettings.FlushSettings.FlushMode
commit() - Method in HibernateJtaTransactionManagerAdapter
commit(org.springframework.transaction.TransactionStatus) - Method in PlatformTransactionManagerProxy
compilationUnit - Property in HibernateEntityTransformation
composite(java.lang.String) - Method in Mapping
Define a new composite id
compositeClass - Property in CompositeIdentity
The composite id class
CompositeIdentity - Class in org.grails.orm.hibernate.cfg
Represents a composite identity, equivalent to Hibernate mapping.
CompositeIdentity() - Constructor in CompositeIdentity
CONFIG_PROPERTY_CACHE_QUERIES - Field in AbstractHibernateDatastore
CONFIG_PROPERTY_OSIV_READONLY - Field in AbstractHibernateDatastore
CONFIG_PROPERTY_PASS_READONLY_TO_HIBERNATE - Field in AbstractHibernateDatastore
config - Property in PropertyDefinitionDelegate
configClass - Property in HibernateConnectionSourceSettings.HibernateSettings
The configuration class
configClass - Field in HibernateMappingContextSessionFactoryBean
configLocations - Property in HibernateConnectionSourceSettings.HibernateSettings
Set the locations of multiple Hibernate XML config files, for example as classpath resources "classpath:hibernate.cfg.xml,classpath:extension.cfg.xml".
configure() - Method in HibernateDatastoreSpringInitializer
Configures an in-memory test data source, don't use in production
configureDataSources(org.springframework.core.env.PropertyResolver) - Method in HibernateDatastoreSpringInitializer
configureDerivedProperties(org.grails.datastore.mapping.model.PersistentEntity, org.grails.orm.hibernate.cfg.Mapping) - Method in GrailsDomainBinder
configureExisting(org.grails.orm.hibernate.cfg.CacheConfig, groovy.lang.Closure) - Method in CacheConfig
Configures an existing PropertyConfig instance
configureExisting(org.grails.orm.hibernate.cfg.ColumnConfig, java.util.Map) - Method in ColumnConfig
Configures an existing PropertyConfig instance
configureExisting(org.grails.orm.hibernate.cfg.Identity, groovy.lang.Closure) - Method in Identity
Configures an existing PropertyConfig instance
configureExisting(org.grails.orm.hibernate.cfg.Mapping, groovy.lang.Closure) - Method in Mapping
Configures an existing Mapping instance
configureExisting(org.grails.orm.hibernate.cfg.PropertyConfig, groovy.lang.Closure) - Method in PropertyConfig
Configures an existing PropertyConfig instance
configureExisting(org.grails.orm.hibernate.cfg.Table, groovy.lang.Closure) - Method in Table
Configures an existing PropertyConfig instance
configureForDataSource(javax.sql.DataSource) - Method in HibernateDatastoreSpringInitializer
configureNamingStrategy(java.lang.String, java.lang.Object) - Method in GrailsDomainBinder
Override the default naming strategy given a Class or a full class name, or an instance of a NamingStrategy.
configureNew(groovy.lang.Closure) - Method in CacheConfig
Configures a new CacheConfig instance
configureNew(java.util.Map) - Method in ColumnConfig
Configures a new PropertyConfig instance
configureNew(groovy.lang.Closure) - Method in Identity
Configures a new Identity instance
configureNew(groovy.lang.Closure) - Method in Mapping
Configures a new Mapping instance
configureNew(java.util.Map) - Method in PropertyConfig
Configures a new PropertyConfig instance
configureNew(groovy.lang.Closure) - Method in Table
Configures a new Table instance
configureValidatorRegistry(org.grails.orm.hibernate.connections.HibernateConnectionSourceSettings, org.grails.orm.hibernate.cfg.HibernateMappingContext, org.grails.datastore.mapping.validation.ValidatorRegistry, org.springframework.context.MessageSource) - Method in HibernateDatastore
connected - Field in AbstractHibernateSession
connectionName - Property in DataSourceFactoryBean
connectionSources - Field in AbstractHibernateDatastore
contains(java.lang.Object) - Method in AbstractHibernateSession
contains(java.lang.Object) - Method in GrailsHibernateTemplate
contains(java.lang.Object) - Method in IHibernateTemplate
contribute(org.hibernate.boot.spi.InFlightMetadataCollector, org.jboss.jandex.IndexView) - Method in GrailsDomainBinder
conversionService - Field in AbstractHibernateCriteriaBuilder
conversionService - Field in AbstractHibernateGormStaticApi
conversionService - Field in AbstractHibernateQuery
conversionService - Field in HibernateGormStaticApi
convert(java.lang.String) - Method in HibernateGrailsPlugin.1
convertArgumentList(java.util.List) - Method in AbstractHibernateCriteriaBuilder
convertHibernateAccessException(org.hibernate.HibernateException) - Method in GrailsHibernateTemplate
convertIdentifier(java.io.Serializable) - Method in AbstractHibernateGormStaticApi
convertJdbcAccessException(org.hibernate.JDBCException, org.springframework.jdbc.support.SQLExceptionTranslator) - Method in GrailsHibernateTemplate
convertOrder(org.grails.datastore.mapping.query.Query.Order, java.lang.String) - Method in AbstractHibernateCriteriaBuilder
convertStringValue(java.lang.Object) - Method in AbstractHibernateCriterionAdapter.CriterionAdaptor
convertToHibernateCriteria(QueryableCriteria<?>) - Method in AbstractHibernateCriteriaBuilder
convertToHibernateCriteria(QueryableCriteria<?>) - Method in HibernateCriteriaBuilder
convertToJtaStatus(org.springframework.transaction.TransactionStatus) - Method in HibernateJtaTransactionManagerAdapter
convertValueToType(java.lang.Object, java.lang.Class, org.springframework.core.convert.ConversionService) - Method in HibernateRuntimeUtils
CouldNotDetermineHibernateDialectException - Class in org.grails.orm.hibernate.exceptions
Thrown when no Hibernate dialect could be found for a database name.
CouldNotDetermineHibernateDialectException(java.lang.String, java.lang.Throwable) - Constructor in CouldNotDetermineHibernateDialectException
count - Field in AbstractHibernateCriteriaBuilder
count() - Method in AbstractHibernateGormStaticApi
count() - Method in AbstractHibernateQuery.HibernateProjectionList
COUNT_CALL - Field in AbstractHibernateCriteriaBuilder
countDigits(java.lang.Number) - Method in GrailsDomainBinder
Returns:
a count of the digits in the specified number
countDistinct(java.lang.String, java.lang.String) - Method in AbstractHibernateCriteriaBuilder
Adds a projection that allows the criteria to return the distinct property count
countDistinct(java.lang.String) - Method in AbstractHibernateQuery.HibernateProjectionList
create(java.lang.String, ConnectionSource<DataSource,DataSourceSettings>, org.grails.orm.hibernate.connections.HibernateConnectionSourceSettings) - Method in AbstractHibernateConnectionSourceFactory
Creates a ConnectionSource for the given DataSource
create(org.grails.datastore.mapping.model.types.ToMany, org.hibernate.mapping.PersistentClass, java.lang.String, org.hibernate.boot.spi.InFlightMetadataCollector, java.lang.String) - Method in GrailsDomainBinder
create(java.lang.String, ConnectionSource<DataSource,DataSourceSettings>, org.grails.orm.hibernate.connections.HibernateConnectionSourceSettings) - Method in HibernateConnectionSourceFactory
create(java.lang.String, org.grails.datastore.gorm.jdbc.connections.DataSourceSettings) - Method in HibernateDatastore
createAlias(java.lang.String, java.lang.String, int) - Method in AbstractHibernateCriteriaBuilder
Join an association using the specified join-type, assigning an alias to the joined association.
createAlias(java.lang.String, java.lang.String, int) - Method in HibernateCriteriaBuilder
Join an association using the specified join-type, assigning an alias to the joined association.
createApplicationContext() - Method in HibernateDatastoreSpringInitializer
createBootstrapServiceRegistryBuilder() - Method in HibernateMappingContextConfiguration
Creates the BootstrapServiceRegistryBuilder to use
createBuilder() - Method in HibernateConnectionSourceSettingsBuilder
createClassProperties(org.grails.orm.hibernate.cfg.HibernatePersistentEntity, org.hibernate.mapping.PersistentClass, org.hibernate.boot.spi.InFlightMetadataCollector, java.lang.String) - Method in GrailsDomainBinder
Creates and binds the properties for the specified Grails domain class and PersistentClass and binds them to the Hibernate runtime meta model
createCriteria() - Method in HibernateGormStaticApi
createCriteriaInstance() - Method in AbstractHibernateCriteriaBuilder
createCriteriaInstance() - Method in HibernateCriteriaBuilder
createdAssociationPaths - Field in AbstractHibernateQuery
createDialectFactory() - Method in HibernateDialectDetectorFactoryBean
createEmbeddedEntity(java.lang.Class) - Method in HibernateMappingContext
createHibernateCriterionAdapter() - Method in AbstractHibernateQuery
createHibernateCriterionAdapter() - Method in HibernateQuery
createHqlQuery(org.hibernate.Session, org.grails.datastore.mapping.query.Query) - Method in AbstractHibernateGormStaticApi
createHqlQuery(org.hibernate.Session, org.grails.datastore.mapping.query.Query) - Method in HibernateGormStaticApi
createKeyForProps(org.grails.datastore.mapping.model.PersistentProperty, java.lang.String, org.grails.orm.hibernate.cfg.Table, java.lang.String, List<?>, java.lang.String) - Method in GrailsDomainBinder
createPagedResultList(java.util.Map) - Method in AbstractHibernateCriteriaBuilder
createPagedResultList(java.util.Map) - Method in HibernateCriteriaBuilder
createPersistenceContextInterceptor(java.lang.String) - Method in AbstractMultipleDataSourceAggregatePersistenceContextInterceptor
createPersistenceContextInterceptor(java.lang.String) - Method in AggregatePersistenceContextInterceptor
createPersistentEntity(java.lang.Class, boolean) - Method in HibernateMappingContext
createPrimaryKeyValue(org.hibernate.boot.spi.InFlightMetadataCollector, org.grails.datastore.mapping.model.PersistentProperty, java.util.Collection, Map<?,?>) - Method in GrailsDomainBinder
Creates the DependentValue object that forms a primary key reference for the collection.
createProperty(org.hibernate.mapping.Value, org.hibernate.mapping.PersistentClass, org.grails.datastore.mapping.model.PersistentProperty, org.hibernate.boot.spi.InFlightMetadataCollector) - Method in GrailsDomainBinder
createProxy(org.hibernate.Session, AssociationQueryExecutor<K,T>, K) - Method in SimpleHibernateProxyHandler
createQuery(java.lang.String) - Method in AbstractHibernateQuery
createQuery(java.lang.Class, java.lang.String) - Method in HibernateSession
createQuery(org.hibernate.Session, java.lang.String) - Method in HibernateVersionSupport
Creates a query
createRlikeExpression(java.lang.String, java.lang.String) - Method in AbstractHibernateCriterionAdapter
utility methods to group and clean up the initialization of the Criterion Adapters*
createRlikeExpression(java.lang.String, java.lang.String) - Method in AbstractHibernateQuery
createRlikeExpression(java.lang.String, java.lang.String) - Method in HibernateCriterionAdapter
createRlikeExpression(java.lang.String, java.lang.String) - Method in HibernateQuery
createSession(org.springframework.core.env.PropertyResolver) - Method in HibernateDatastore
createSessionProxy(org.hibernate.Session) - Method in GrailsHibernateTemplate
Create a close-suppressing proxy for the given Hibernate Session.
createSpringFlushSynchronization(org.hibernate.Session) - Method in GrailsSessionContext
createSpringSessionSynchronization(org.springframework.orm.hibernate5.SessionHolder) - Method in GrailsSessionContext
createStandardServiceRegistryBuilder(org.hibernate.boot.registry.BootstrapServiceRegistry) - Method in HibernateMappingContextConfiguration
Creates the standard service registry builder.
createUniqueKeyForColumns(org.grails.orm.hibernate.cfg.Table, java.lang.String, List<Column>) - Method in GrailsDomainBinder
createValidatorRegistry(org.springframework.context.MessageSource) - Method in AbstractHibernateDatastore
criteria - Field in AbstractHibernateCriteriaBuilder
criteria - Field in AbstractHibernateQuery
criteria - Field in AbstractHibernateQuery.CriteriaAndAlias
CriteriaAndAlias(org.hibernate.Criteria, java.lang.String, java.lang.String) - Constructor in AbstractHibernateQuery.CriteriaAndAlias
criteriaMetaClass - Field in AbstractHibernateCriteriaBuilder
criterionAdaptors - Field in AbstractHibernateCriterionAdapter
CT - Field in GrailsDomainBinder
CURRENCY - Field in HibernateCriteriaBuilder
currentSession() - Method in GrailsSessionContext
Retrieve the Spring-managed Session for the current thread, if any.
currentSessionContextClass - Field in HibernateMappingContextSessionFactoryBean

D

DATA_SOURCES - Field in HibernateDatastoreSpringInitializer
dataSource - Field in GrailsHibernateTemplate
dataSource - Field in HibernateConnectionSource
dataSource - Property in HibernateConnectionSourceSettings
Settings for the dataSource
datasource(java.lang.String) - Method in HibernateMappingBuilder
dataSourceConnectionSourceFactory - Field in AbstractHibernateConnectionSourceFactory
DataSourceFactoryBean - Class in org.grails.orm.hibernate.support
A factory class to retrieve a javax.sql.DataSource from the Hibernate datastore
DataSourceFactoryBean(org.grails.orm.hibernate.AbstractHibernateDatastore, java.lang.String) - Constructor in DataSourceFactoryBean
dataSourceName - Field in AbstractHibernateDatastore
dataSourceName - Field in GrailsDomainBinder
dataSourceName - Field in HibernateMappingContextConfiguration
dataSourceName - Field in HibernateMappingContextSessionFactoryBean
dataSourceNames - Property in HibernateDatastoreConnectionSourcesRegistrar
dataSources - Property in HibernateDatastoreSpringInitializer
datasources(List<String>) - Method in HibernateMappingBuilder
datastore - Field in AbstractHibernateCriteriaBuilder
datastore - Field in AbstractHibernateGormValidationApi
datastore - Field in AbstractHibernateSession
datastore - Field in ClosureEventTriggeringInterceptor
datastore - Property in DataSourceFactoryBean
datastoresByConnectionSource - Field in HibernateDatastore
DATE - Field in HibernateCriteriaBuilder
deepCopy(java.lang.Object) - Method in IdentityEnumType
DEFAULT_DATA_SOURCE_NAME - Field in HibernateDatastoreSpringInitializer
DEFAULT_ENUM_TYPE - Field in GrailsDomainBinder
defaultConstraints - Property in HibernateMappingBuilder
defaultDataSourceBeanName - Property in HibernateDatastoreSpringInitializer
defaultFlushMode - Field in AbstractHibernateCriteriaBuilder
defaultFlushMode - Field in AbstractHibernateDatastore
defaultFlushMode - Property in GrailsHibernateTransactionManager
defaultFlushModeName - Field in AbstractHibernateDatastore
defaultMapping - Field in GrailsDomainBinder
defaultSessionFactoryBeanName - Property in HibernateDatastoreSpringInitializer
defaultValue - Property in ColumnConfig
The default value
define(groovy.lang.Closure) - Method in MappingBuilder
Build a Hibernate mapping
delete(D, java.util.Map) - Method in AbstractHibernateGormInstanceApi
delete(java.lang.Object) - Method in AbstractHibernateSession
delete(java.lang.Object) - Method in GrailsHibernateTemplate
delete(java.lang.Object) - Method in IHibernateTemplate
delete(java.lang.Object, boolean) - Method in InstanceApiHelper
deleteAll(Collection<?>) - Method in GrailsHibernateTemplate
deleteAll(org.grails.datastore.mapping.query.api.QueryableCriteria) - Method in HibernateSession
Deletes all objects matching the given criteria.
deleteAll(Collection<?>) - Method in IHibernateTemplate
deRegisterChild(org.hibernate.service.spi.ServiceRegistryImplementor) - Method in HibernateDialectDetectorFactoryBean
description - Property in HibernateGrailsPlugin
description - Property in SchemaExportCommand
destroy() - Method in AbstractHibernateDatastore
destroy() - Method in AbstractMultipleDataSourceAggregatePersistenceContextInterceptor
destroy() - Method in HibernateDatastore
destroy() - Method in HibernateDialectDetectorFactoryBean
destroy() - Method in HibernateMappingContextSessionFactoryBean
destroy() - Method in HibernatePersistenceContextInterceptor
detachedAssocationCriteria - Field in AbstractHibernateQuery.HibernateAssociationQuery
detachedCriteria - Field in AbstractHibernateQuery
detachedCriteria - Field in AbstractHibernateQuery.CriteriaAndAlias
direction - Property in SortConfig
The direction to sort by
disableMultiTenancyFilter() - Method in AbstractHibernateDatastore
Disable the tenant id filter for the given datastore and entity
disassemble(java.lang.Object) - Method in IdentityEnumType
discard(D) - Method in AbstractHibernateGormInstanceApi
disconnect() - Method in AbstractHibernateSession
disconnect() - Method in AbstractMultipleDataSourceAggregatePersistenceContextInterceptor
disconnect() - Method in HibernatePersistenceContextInterceptor
discriminator(java.util.Map) - Method in HibernateMappingBuilder
discriminator - Property in Mapping
Value used to discriminate entities in table-per-hierarchy inheritance mapping
DiscriminatorConfig - Class in org.grails.orm.hibernate.cfg
Configurations the discriminator**
Authors:
Graeme Rocher*
Since:
6.1
DiscriminatorConfig() - Constructor in DiscriminatorConfig
disintegrate(org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.service.spi.SessionFactoryServiceRegistry) - Method in EventListenerIntegrator
disintegrate(org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.service.spi.SessionFactoryServiceRegistry) - Method in MetadataIntegrator
disjunction() - Method in AbstractHibernateQuery
disjunction() - Method in AbstractHibernateQuery.HibernateAssociationQuery
distinct() - Method in AbstractHibernateCriteriaBuilder
distinct() - Method in AbstractHibernateQuery.HibernateProjectionList
doBegin(java.lang.Object, org.springframework.transaction.TransactionDefinition) - Method in GrailsHibernateTransactionManager
doBuildSessionFactory() - Method in HibernateMappingContextSessionFactoryBean
documentation - Property in HibernateGrailsPlugin
doExecute(HibernateCallback<T>, boolean) - Method in GrailsHibernateTemplate
Execute the action specified by the given action object within a Session.
doInHibernate(org.hibernate.Session) - Method in GrailsHibernateTemplate.HibernateCallback
doInHibernate(org.hibernate.Session) - Method in PagedResultList
doRollback(org.springframework.transaction.support.DefaultTransactionStatus) - Method in GrailsHibernateTransactionManager
DOUBLE - Field in HibernateCriteriaBuilder
doValidate(java.lang.Object) - Method in ClosureEventListener
doWithSpring() - Method in HibernateGrailsPlugin
dynamicInsert(boolean) - Method in HibernateMappingBuilder
Whether to use dynamic update queries
dynamicInsert - Property in Mapping
Whether to use dynamically created insert queries, at the cost of some performance
dynamicUpdate(boolean) - Method in HibernateMappingBuilder
Whether to use dynamic update queries
dynamicUpdate - Property in Mapping
Whether to use dynamically created update queries, at the cost of some performance

E

EMPTY_ARRAY - Field in AbstractHibernateGormInstanceApi
EMPTY_CLASS_ARRAY - Field in GrailsHibernateUtil
EMPTY_PATH - Field in GrailsDomainBinder
enabled - Property in CacheConfig
Whether caching is enabled
enabled - Property in HibernateConnectionSourceSettings.HibernateSettings.OsivSettings
Whether OSIV is enabled
enableDynamicFilterEnablerIfPresent(org.hibernate.SessionFactory, org.hibernate.Session) - Method in HibernateRuntimeUtils
enableMultiTenancyFilter() - Method in AbstractHibernateDatastore
Enable the tenant id filter for the given datastore and entity
enableReload - Property in HibernateConnectionSourceSettings
Whether to prepare the datastore for runtime reloading
enableReload - Property in HibernateDatastoreSpringInitializer
ensureCorrectGroovyMetaClass(java.lang.Object, Class<?>) - Method in GrailsHibernateUtil
Ensures the meta class is correct for a given class
entity_dirtiness_strategy - Property in HibernateConnectionSourceSettings.HibernateSettings
entityStack - Field in AbstractHibernateQuery
ENUM_CLASS_PROP - Field in GrailsDomainBinder
ENUM_ID_ACCESSOR - Field in IdentityEnumType
ENUM_TYPE_CLASS - Field in GrailsDomainBinder
ENUM_TYPE_PROP - Field in GrailsDomainBinder
enumClass - Field in IdentityEnumType
enumType - Property in ColumnConfig
The enum type
eq(java.lang.String, java.lang.Object, java.util.Map) - Method in AbstractHibernateCriteriaBuilder
Creates an "equals" Criterion based on the specified property name and value.
eq(java.lang.String, java.lang.Object) - Method in AbstractHibernateQuery
eq(java.lang.String, java.lang.Object) - Method in AbstractHibernateQuery.HibernateAssociationQuery
eqAll(java.lang.String, org.grails.datastore.mapping.query.api.QueryableCriteria) - Method in AbstractHibernateCriteriaBuilder
Creates a subquery criterion that ensures the given property is equal to all the given returned values
eqProperty(java.lang.String, java.lang.String) - Method in AbstractHibernateCriteriaBuilder
Creates a Criterion that compares to class properties for equality
EQUALS - Field in AbstractHibernateCriteriaBuilder
equals(java.lang.Object, java.lang.Object) - Method in IdentityEnumType
EQUALS_PROPERTY - Field in AbstractHibernateCriteriaBuilder
equals(java.lang.Object) - Method in SoftKey
evaluate(groovy.lang.Closure, java.lang.Object) - Method in HibernateMappingBuilder
Central entry point for the class.
evaluateMapping(org.grails.datastore.mapping.model.PersistentEntity, Closure<?>, boolean) - Method in GrailsDomainBinder
EventListenerIntegrator - Class in org.grails.orm.hibernate
EventListenerIntegrator(org.grails.orm.hibernate.HibernateEventListeners, Map<String,Object>) - Constructor in EventListenerIntegrator
eventListeners - Field in EventListenerIntegrator
eventListeners - Field in HibernateEventListener
eventListeners - Field in HibernateMappingContextSessionFactoryBean
eventPublisher - Field in ClosureEventTriggeringInterceptor
eventPublisher - Field in HibernateDatastore
eventTriggeringInterceptor - Field in AbstractHibernateDatastore
eventTriggeringInterceptor - Property in HibernateConnectionSourceSettings.HibernateSettings
The event triggering interceptor
evict(java.lang.Object) - Method in GrailsHibernateTemplate
evict(java.lang.Object) - Method in IHibernateTemplate
execute(HibernateCallback<T>) - Method in GrailsHibernateTemplate
execute(Closure<T>) - Method in IHibernateTemplate
executeFind(HibernateCallback<?>) - Method in GrailsHibernateTemplate
executeLogicalExpression(groovy.lang.Closure, java.lang.String) - Method in AbstractHibernateCriteriaBuilder
executeQuery(java.lang.CharSequence, java.util.Collection, java.util.Map) - Method in AbstractHibernateGormStaticApi
executeQuery(org.grails.datastore.mapping.model.PersistentEntity, org.hibernate.criterion.Junction) - Method in AbstractHibernateQuery
executeQuery(org.grails.datastore.mapping.model.PersistentEntity, org.hibernate.criterion.Junction) - Method in HibernateHqlQuery
executeUniqueResultWithProxyUnwrap() - Method in AbstractHibernateCriteriaBuilder
executeUniqueResultWithProxyUnwrap() - Method in HibernateCriteriaBuilder
executeUpdate(java.lang.CharSequence, java.util.Map) - Method in AbstractHibernateGormStaticApi
executeUpdate(java.lang.CharSequence, java.util.Collection, java.util.Map) - Method in HibernateGormStaticApi
executeWithExistingOrCreateNewSession(org.hibernate.SessionFactory, Closure<T1>) - Method in GrailsHibernateTemplate
executeWithExistingOrCreateNewSession(org.hibernate.SessionFactory, Closure<T1>) - Method in IHibernateTemplate
executeWithNewSession(Closure<T>) - Method in GrailsHibernateTemplate
executeWithNewSession(Closure<T>) - Method in IHibernateTemplate
exists(QueryableCriteria<?>) - Method in AbstractHibernateCriteriaBuilder
exists(java.io.Serializable) - Method in AbstractHibernateGormStaticApi
explicitSaveUpdateCascade - Property in PropertyConfig
exposeNativeSession - Field in GrailsHibernateTemplate

F

failOnError - Field in AbstractHibernateDatastore
failOnError - Field in AbstractHibernateEventListener
failOnErrorPackages - Field in AbstractHibernateEventListener
fallBackHibernateSettings - Property in HibernateConnectionSourceSettingsBuilder
fetchMode(java.lang.String, org.hibernate.FetchMode) - Method in AbstractHibernateCriteriaBuilder
Sets the fetch mode of an associated path
filterQueryArgumentMap(java.util.Map) - Method in AbstractHibernateGormStaticApi
find(D, java.util.Map) - Method in AbstractHibernateGormStaticApi
findAll(D, java.util.Map) - Method in AbstractHibernateGormStaticApi
findAllWhere(java.util.Map, java.util.Map) - Method in AbstractHibernateGormStaticApi
findAllWithSql(java.lang.CharSequence, java.util.Map) - Method in AbstractHibernateGormStaticApi
Finds all results for this entity for the given SQL query
findAllWithSql(java.lang.CharSequence, java.util.Map) - Method in HibernateEntity
Finds all objects for the given string-based query
findDirty(java.lang.Object, org.hibernate.persister.entity.EntityPersister, org.hibernate.Session, org.hibernate.CustomEntityDirtinessStrategy.DirtyCheckContext) - Method in GrailsEntityDirtinessStrategy
findEntityEntry(D, org.hibernate.engine.spi.SessionImplementor, boolean) - Method in HibernateGormInstanceApi
findEventListener(java.lang.Object, org.hibernate.engine.spi.SessionFactoryImplementor) - Method in HibernateEventListener
findWhere(java.util.Map, java.util.Map) - Method in AbstractHibernateGormStaticApi
findWithSql(java.lang.CharSequence, java.util.Map) - Method in AbstractHibernateGormStaticApi
findWithSql(java.lang.CharSequence, java.util.Map) - Method in HibernateEntity
Finds an entity for the given SQL query
firePostQueryEvent(org.hibernate.Session, org.hibernate.Criteria, java.lang.Object) - Method in AbstractHibernateGormStaticApi
Fire a post query event
firePostQueryEvent(org.hibernate.Session, org.hibernate.Criteria, java.lang.Object) - Method in HibernateGormStaticApi
firePreQueryEvent(org.hibernate.Session, org.hibernate.Criteria) - Method in AbstractHibernateGormStaticApi
Fire a pre query event
firePreQueryEvent(org.hibernate.Session, org.hibernate.Criteria) - Method in HibernateGormStaticApi
first(java.util.Map) - Method in AbstractHibernateGormStaticApi
firstResult(int) - Method in AbstractHibernateQuery
FLOAT - Field in HibernateCriteriaBuilder
flush() - Method in AbstractHibernateSession
flush() - Method in AbstractMultipleDataSourceAggregatePersistenceContextInterceptor
FLUSH_ALWAYS - Field in GrailsHibernateTemplate
Flushing before every query statement is rarely necessary.
FLUSH_AUTO - Field in GrailsHibernateTemplate
Automatic flushing is the default mode for a Hibernate Session.
FLUSH_COMMIT - Field in GrailsHibernateTemplate
Flushing at commit only is intended for units of work where no intermediate flushing is desired, not even for find operations that might involve already modified instances.
FLUSH_EAGER - Field in GrailsHibernateTemplate
Eager flushing leads to immediate synchronization with the database, even if in a transaction.
flush() - Method in GrailsHibernateTemplate
flush - Property in HibernateConnectionSourceSettings.HibernateSettings
Flush settings
flush() - Method in HibernatePersistenceContextInterceptor
flush() - Method in IHibernateTemplate
FLUSH_NEVER - Field in GrailsHibernateTemplate
Never flush is a good strategy for read-only units of work.
flushBeforeQuery() - Method in AbstractHibernateGormStaticApi.1
flushBeforeQuery() - Method in AbstractHibernateQuery
flushBeforeQuery() - Method in HibernateHqlQuery
flushIfNecessary(org.hibernate.Session, boolean) - Method in GrailsHibernateTemplate
flushMode - Field in GrailsHibernateTemplate
flushSession(org.hibernate.Session) - Method in AbstractHibernateGormInstanceApi
FOREIGN_KEY_SUFFIX - Field in GrailsDomainBinder
formula - Property in DiscriminatorConfig
The formula to use

G

ge(java.lang.String, java.lang.Object) - Method in AbstractHibernateCriteriaBuilder
Creates a "greater than or equal to" Criterion based on the specified property name and value
ge(java.lang.String, java.lang.Object) - Method in AbstractHibernateQuery
ge(java.lang.String, java.lang.Object) - Method in AbstractHibernateQuery.HibernateAssociationQuery
geAll(java.lang.String, org.grails.datastore.mapping.query.api.QueryableCriteria) - Method in AbstractHibernateCriteriaBuilder
Creates a subquery criterion that ensures the given property is greater than all the given returned values
generateAlias(java.lang.String) - Method in AbstractHibernateQuery
generator - Property in Identity
The generator to use
geProperty(java.lang.String, java.lang.String) - Method in AbstractHibernateCriteriaBuilder
Creates a Criterion that tests if the first property is greater than or equal to the second property
geSome(java.lang.String, Closure<?>) - Method in AbstractHibernateCriteriaBuilder
get(groovy.lang.Closure) - Method in AbstractHibernateCriteriaBuilder
get(java.io.Serializable) - Method in AbstractHibernateGormStaticApi
GET_CALL - Field in AbstractHibernateCriteriaBuilder
get(Class<T>, java.io.Serializable, org.hibernate.LockMode) - Method in GrailsHibernateTemplate
get(Class<T>, java.io.Serializable, org.hibernate.LockMode) - Method in IHibernateTemplate
getAll(java.io.Serializable) - Method in AbstractHibernateGormStaticApi
getAndRemoveStatus() - Method in HibernateJtaTransactionManagerAdapter
getAnnotatedClasses() - Method in HibernateMappingContextSessionFactoryBean
getAnnotatedPackages() - Method in HibernateMappingContextSessionFactoryBean
getApplicationEventPublisher() - Method in HibernateDatastore
getAssociationDescription(org.grails.datastore.mapping.model.types.Association) - Method in GrailsDomainBinder
getAssociationPath(java.lang.String) - Method in AbstractHibernateQuery
getAssociationProxy(java.lang.Object, java.lang.String) - Method in GrailsHibernateUtil
Returns the proxy for a given association or null if it is not proxied
getAssociationProxy(java.lang.Object, java.lang.String) - Method in SimpleHibernateProxyHandler
getAt(java.lang.String) - Method in InstanceProxy
getAutoTimestampEventListener() - Method in AbstractHibernateDatastore
Returns:
The event listener that populates lastUpdated and dateCreated
getBeanDefinitions(org.springframework.beans.factory.support.BeanDefinitionRegistry) - Method in HibernateDatastoreSpringInitializer
getBidiEnumMap(Class<? extends Enum<?>>) - Method in IdentityEnumType
getCacheableMappingLocations() - Method in HibernateMappingContextSessionFactoryBean
getClassForAssociationType(Attribute<?,?>) - Method in AbstractHibernateCriteriaBuilder
getClassForAssociationType(Attribute<?,?>) - Method in HibernateCriteriaBuilder
getColumn() - Method in PropertyConfig
Shortcut to get the column name for this property.
getColumnForSimpleValue(org.hibernate.mapping.SimpleValue) - Method in GrailsDomainBinder
getColumnNameForPropertyAndPath(org.grails.datastore.mapping.model.PersistentProperty, java.lang.String, org.grails.orm.hibernate.cfg.ColumnConfig, java.lang.String) - Method in GrailsDomainBinder
getConfigClass() - Method in HibernateMappingContextSessionFactoryBean
getConfigLocations() - Method in HibernateMappingContextSessionFactoryBean
getConfiguration() - Method in HibernateMappingContextSessionFactoryBean
Return the Hibernate Configuration object used to build the SessionFactory.
getConnection(java.lang.String, java.lang.String) - Method in HibernateDatastore
getConnectionSources() - Method in AbstractHibernateDatastore
getConnectionSourcesConfigurationKey() - Method in AbstractHibernateConnectionSourceFactory
getCriteriaAndAlias(Association<?>) - Method in AbstractHibernateQuery
getCurrentAlias() - Method in AbstractHibernateQuery
getCurrentSession() - Method in HibernateDatastore
getCurrentSessionContextClass() - Method in HibernateMappingContextSessionFactoryBean
getDataSource() - Method in AbstractHibernateDatastore
Returns:
The javax.sql.DataSource being used by this datastore instance
getDataSource() - Method in HibernateConnectionSource
Returns:
The underlying SQL javax.sql.DataSource
getDataSource() - Method in HibernateMappingContextSessionFactoryBean
getDataSourceName() - Method in AbstractHibernateDatastore
Returns:
The data source name being used
getDataSourceName() - Method in HibernateMappingContextSessionFactoryBean
getDatasourceNames(org.grails.datastore.mapping.model.PersistentEntity) - Method in GrailsHibernateUtil
deprecated:
Use MultipleDataSourceSupport#getDatasourceNames(PersistentEntity)#getDatasourceNames(PersistentEntity) instead
getDatasourceNames(org.grails.datastore.mapping.model.PersistentEntity) - Method in MultipleDataSourceSupport
getDatastore() - Method in AbstractHibernateEventListener
Returns:
The hibernate datastore
getDatastore() - Method in AbstractHibernateSession
getDatastoreForConnection(java.lang.String) - Method in AbstractHibernateDatastore
Obtain a child datastore for the given connection name
getDatastoreForConnection(java.lang.String) - Method in HibernateDatastore
Obtain a child HibernateDatastore by connection name
getDatastoreForTenantId(java.io.Serializable) - Method in AbstractHibernateDatastore
getDefaultColumnName(org.grails.datastore.mapping.model.PersistentProperty, java.lang.String) - Method in GrailsDomainBinder
getDefaultDataSource(org.grails.datastore.mapping.model.PersistentEntity) - Method in GrailsHibernateUtil
deprecated:
Use MultipleDataSourceSupport#getDefaultDataSource(PersistentEntity)#getDefaultDataSource(PersistentEntity) instead
getDefaultDataSource(org.grails.datastore.mapping.model.PersistentEntity) - Method in MultipleDataSourceSupport
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.
getDefaultFlushMode() - Method in AbstractHibernateCriteriaBuilder
getDefaultFlushMode() - Method in AbstractHibernateDatastore
Returns:
Obtains the default flush mode level
getDefaultFlushModeName() - Method in AbstractHibernateDatastore
Returns:
The name of the default value flush
getDialect(org.hibernate.SessionFactory) - Method in AbstractHibernateQuery
getDialect(org.hibernate.SessionFactory) - Method in HibernateQuery
getDialectResolutionInfo() - Method in HibernateDialectDetectorFactoryBean
getDirtyPropertyNames(D) - Method in HibernateGormInstanceApi
Obtains a list of property names that are dirty
getEntity() - Method in AbstractHibernateQuery
getEntity(org.hibernate.event.spi.SaveOrUpdateEvent) - Method in ClosureEventTriggeringInterceptor
getEntity() - Method in HibernatePersistentEntity
getEntityInterceptor() - Method in HibernateMappingContextSessionFactoryBean
getEntityPersister(java.lang.String, org.hibernate.SessionFactory) - Method in AbstractHibernateQuery
getEntityPersister(java.lang.String, org.hibernate.SessionFactory) - Method in HibernateQuery
getEnumType() - Method in PropertyConfig
getEventListeners() - Method in HibernateMappingContextSessionFactoryBean
getEventTriggeringInterceptor() - Method in AbstractHibernateDatastore
getFetchMode(java.lang.Object) - Method in GrailsHibernateQueryUtils
Retrieves the fetch mode for the specified instance; otherwise returns the default FetchMode.
getFetchMode(java.lang.Object) - Method in GrailsHibernateUtil
Retrieves the fetch mode for the specified instance; otherwise returns the default FetchMode.
getFetchMode() - Method in PropertyConfig
Returns:
The Hibernate FetchMode
getFlushMode() - Method in GrailsHibernateTemplate
Return if a flush should be forced after executing the callback code.
getFlushMode() - Method in HibernateSession
getFlushMode(org.hibernate.Session) - Method in HibernateVersionSupport
Get the native Hibernate FlushMode, adapting between Hibernate 5.0/5.1 and 5.2+.
getFlushMode() - Method in IHibernateTemplate
getForeignKeyForPropertyDomainClass(org.grails.datastore.mapping.model.PersistentProperty, java.lang.String) - Method in GrailsDomainBinder
getGetter() - Method in TraitPropertyAccessStrategy
getHibernateCriteria() - Method in HibernateQuery
Returns:
The hibernate criteria
getHibernateCriterionAdapter() - Method in AbstractHibernateQuery
getHibernateDetachedCriteria(org.grails.orm.hibernate.query.AbstractHibernateQuery, QueryableCriteria<?>, java.lang.String) - Method in HibernateCriteriaBuilder
getHibernateEventListeners() - Method in HibernateMappingContextSessionFactoryBean
getHibernateProjectionList() - Method in AbstractHibernateQuery.HibernateProjectionList
getHibernateProperties() - Method in HibernateMappingContextSessionFactoryBean
Return the Hibernate properties, if any.
getHibernateTemplate() - Method in AbstractHibernateDatastore
getHibernateTemplate() - Method in AbstractHibernateGormStaticApi
getHibernateTemplate(int) - Method in HibernateDatastore
getHibernateTemplate() - Method in HibernateGormStaticApi
getHibernateTemplate() - Method in HibernateSession
getIdentifier(java.lang.Object) - Method in SimpleHibernateProxyHandler
getIdentifierGeneratorClass(java.lang.String) - Method in GrailsIdentifierGeneratorFactory
getIndexColumnName(org.grails.datastore.mapping.model.PersistentProperty, java.lang.String) - Method in GrailsDomainBinder
getIndexColumnType(org.grails.datastore.mapping.model.PersistentProperty, java.lang.String) - Method in GrailsDomainBinder
getIndexName() - Method in PropertyConfig
Shortcut to get the index setting for this property's column.
getInsertableness(org.grails.datastore.mapping.model.PersistentProperty) - Method in GrailsDomainBinder
getInstance() - Method in AbstractHibernateCriteriaBuilder
Returns the criteria instance
getInstanceApi(Class<D>, java.lang.String) - Method in HibernateGormEnhancer
getIterableAsCollection(java.lang.Iterable) - Method in AbstractHibernateSession
getIterableAsCollection(java.lang.Iterable) - Method in GrailsHibernateTemplate
getJoinedSubClassTableName(org.grails.orm.hibernate.cfg.HibernatePersistentEntity, org.hibernate.mapping.PersistentClass, org.grails.orm.hibernate.cfg.Table, org.hibernate.boot.spi.InFlightMetadataCollector, java.lang.String) - Method in GrailsDomainBinder
getJtaTransactionManager(org.hibernate.Session) - Method in GrailsSessionContext
getLaziness(org.grails.datastore.mapping.model.PersistentProperty) - Method in GrailsDomainBinder
getLength() - Method in PropertyConfig
Shortcut to get the length of this property's column.
getLevel() - Method in AbstractHibernateDatastore.FlushMode
getLevel() - Method in HibernateConnectionSourceSettings.HibernateSettings.FlushSettings.FlushMode
getListenerMap() - Method in HibernateEventListeners
getMapElementName(org.grails.datastore.mapping.model.PersistentProperty, java.lang.String) - Method in GrailsDomainBinder
getMappedForm() - Method in HibernatePersistentEntity
getMapping(org.grails.datastore.mapping.model.PersistentEntity) - Method in AbstractGrailsDomainBinder
Obtains a mapping object for the given domain class nam
getMapping(org.grails.datastore.mapping.model.PersistentEntity) - Method in GrailsDomainBinder
Obtains a mapping object for the given domain class nam
getMapping() - Method in HibernatePersistentEntity
getMappingContext() - Method in AbstractHibernateSession
getMappingContext() - Method in HibernateConnectionSourceFactory
getMappingContext() - Method in HibernateDatastore
getMappingDirectoryLocations() - Method in HibernateMappingContextSessionFactoryBean
getMappingFactory() - Method in HibernateMappingContext
getMappingJarLocations() - Method in HibernateMappingContextSessionFactoryBean
getMappingLocations() - Method in HibernateMappingContextSessionFactoryBean
getMappingResources() - Method in HibernateMappingContextSessionFactoryBean
getMappingSyntaxStrategy() - Method in HibernateMappingContext
getMaxSize(List<?>) - Method in GrailsDomainBinder
Returns:
the maximum length of the strings in the specified list
getMetadata() - Method in HibernateDatastore
getMetadataBuildingContext() - Method in GrailsDomainBinder
getMultiTenancyMode() - Method in AbstractHibernateDatastore
getNameForPropertyAndPath(org.grails.datastore.mapping.model.PersistentProperty, java.lang.String) - Method in GrailsDomainBinder
getNamesAndDirections() - Method in SortConfig
getNamingStrategy(java.lang.String) - Method in GrailsDomainBinder
getNamingStrategy() - Method in HibernateMappingContextSessionFactoryBean
getNativeInterface() - Method in AbstractHibernateSession
getObject() - Method in DataSourceFactoryBean
getObject() - Method in HibernateDatastoreFactoryBean
getObject() - Method in HibernateDialectDetectorFactoryBean
getObject() - Method in HibernateMappingContextSessionFactoryBean
getObjectIdentifier(java.lang.Object) - Method in HibernateSession
getObjectType() - Method in DataSourceFactoryBean
getObjectType() - Method in HibernateDatastoreFactoryBean
getObjectType() - Method in HibernateDialectDetectorFactoryBean
getObjectType() - Method in HibernateMappingContextSessionFactoryBean
getOrCreateAlias(java.lang.String, java.lang.String) - Method in AbstractHibernateQuery
getOrder() - Method in HibernateDatastoreConnectionSourcesRegistrar
getOrder() - Method in MultiTenantEventListener
getOrInitializePropertyConfig(java.lang.String) - Method in Mapping
getPackagesToScan() - Method in HibernateMappingContextSessionFactoryBean
getParentServiceRegistry() - Method in HibernateDialectDetectorFactoryBean
getPersistenceInterceptorClass() - Method in HibernateDatastoreSpringInitializer
getPersistentClasses() - Method in HibernateConnectionSourceFactory
getPersistentEntity(java.lang.String) - Method in HibernateMappingContext
getPersistentValue(D, java.lang.String) - Method in HibernateGormInstanceApi
Gets the original persisted value of a field.
getPersister(java.lang.Object) - Method in AbstractHibernateSession
getPrecision() - Method in PropertyConfig
Shortcut to get the precision of this property's column.
getProperties() - Method in HibernateMappingBuilder
getProperty(org.hibernate.mapping.PersistentClass, java.lang.String) - Method in GrailsDomainBinder
getProperty(java.lang.String) - Method in InstanceProxy
getPropertyAccessStrategy() - Method in TraitPropertyAccessStrategy
getPropertyConfig(org.grails.datastore.mapping.model.PersistentProperty) - Method in GrailsDomainBinder
getPropertyConfig(java.lang.String) - Method in Mapping
Obtains a PropertyConfig object for the given name
getPropertyConfigs() - Method in Mapping
getPropertyName(org.grails.datastore.mapping.query.Query.Criterion, java.lang.String) - Method in AbstractHibernateCriterionAdapter
getProxiedClass(java.lang.Object) - Method in SimpleHibernateProxyHandler
getProxyIdentifier(java.lang.Object) - Method in SimpleHibernateProxyHandler
getRootMapping(org.grails.datastore.mapping.model.PersistentEntity) - Method in GrailsDomainBinder
getScale() - Method in PropertyConfig
Shortcut to get the scale of this property's column.
getService(Class<R>) - Method in HibernateDialectDetectorFactoryBean
getServiceRegistry() - Method in HibernateMappingContextConfiguration
getSession() - Method in GrailsHibernateTemplate
getSessionFactory() - Method in AbstractHibernateDatastore
Returns:
The Hibernate SessionFactory being used by this datastore instance
getSessionFactory() - Method in AbstractHibernateGormInstanceApi
getSessionFactory() - Method in GrailsHibernateTemplate
getSessionFactory() - Method in HibernatePersistenceContextInterceptor
Returns:
the sessionFactory
getSessionFactory() - Method in IHibernateTemplate
getSessionFactory() - Method in SessionFactoryHolder
getSessionFactoryBeanName() - Method in HibernateMappingContextSessionFactoryBean
getSetter() - Method in TraitPropertyAccessStrategy
getSingleColumnConfig(org.grails.orm.hibernate.cfg.PropertyConfig) - Method in GrailsDomainBinder
getSourceUnit() - Method in HibernateEntityTransformation.1
getSqlType() - Method in PropertyConfig
Shortcut to get the SQL type of the corresponding column.
getStaticApi(Class<D>, java.lang.String) - Method in HibernateGormEnhancer
getStatus(org.hibernate.Session, java.lang.Object) - Method in GrailsEntityDirtinessStrategy
getStatus() - Method in HibernateJtaTransactionManagerAdapter
getTableName(org.grails.datastore.mapping.model.PersistentEntity, java.lang.String) - Method in GrailsDomainBinder
Evaluates the table name for the given property
getTableName() - Method in Mapping
The table name
getTargetClass() - Method in AbstractHibernateCriteriaBuilder
getTargetTransactionManager() - Method in PlatformTransactionManagerProxy
getTenantResolver() - Method in AbstractHibernateDatastore
getTestDbUrl() - Method in HibernateDatastoreSpringInitializer
getTimestampProvider() - Method in HibernateEventListener
deprecated:
Replaced by org.grails.datastore.gorm.events.AutoTimestampEventListener
getTotalCount() - Method in PagedResultList
getTransaction() - Method in AbstractHibernateSession
getTransaction() - Method in HibernateJtaTransactionManagerAdapter
getTransaction(org.springframework.transaction.TransactionDefinition) - Method in PlatformTransactionManagerProxy
getTransactionManager() - Method in HibernateDatastore
Returns:
The org.springframework.transaction.PlatformTransactionManager instance
getTransactionManager() - Method in HibernateMappingContextSessionFactoryBean
getTypedValues(org.hibernate.Criteria, org.hibernate.criterion.CriteriaQuery) - Method in RlikeExpression
getTypeName(org.grails.datastore.mapping.model.PersistentProperty, org.grails.orm.hibernate.cfg.PropertyConfig, org.grails.orm.hibernate.cfg.Mapping) - Method in GrailsDomainBinder
getTypeName(java.lang.Class) - Method in Mapping
Return a type name of the known custom user types
getTypeResolver(org.hibernate.SessionFactory) - Method in AbstractHibernateQuery
getTypeResolver(org.hibernate.SessionFactory) - Method in HibernateQuery
getUpdateable() - Method in PropertyConfig
Whether or not this column is updatable by hibernate
getUpdateableness(org.grails.datastore.mapping.model.PersistentProperty) - Method in GrailsDomainBinder
getUserType(org.grails.datastore.mapping.model.PersistentProperty) - Method in GrailsDomainBinder
getValidationApi(Class<D>, java.lang.String) - Method in HibernateGormEnhancer
gormEnhancer - Field in HibernateDatastore
GrailsDomainBinder - Class in org.grails.orm.hibernate.cfg
Handles the binding Grails domain classes and properties to the Hibernate runtime meta model.
GrailsDomainBinder(java.lang.String, java.lang.String, org.grails.orm.hibernate.cfg.HibernateMappingContext) - Constructor in GrailsDomainBinder
grailsDomainClassMappingContext(org.grails.orm.hibernate.HibernateDatastore) - Method in HibernateGormAutoConfiguration
GrailsEntityDirtinessStrategy - Class in org.grails.orm.hibernate.dirty
A class to customize Hibernate dirtiness based on Grails DirtyCheckable interface
GrailsEntityDirtinessStrategy.1 - Class in org.grails.orm.hibernate.dirty
GrailsEntityDirtinessStrategy.1() - Constructor in GrailsEntityDirtinessStrategy.1
GrailsEntityDirtinessStrategy() - Constructor in GrailsEntityDirtinessStrategy
GrailsHibernateConfigurationException - Class in org.grails.orm.hibernate.exceptions
Thrown when configuration Hibernate for GORM features.
GrailsHibernateConfigurationException(java.lang.String, java.lang.Throwable) - Constructor in GrailsHibernateConfigurationException
GrailsHibernateException - Class in org.grails.orm.hibernate.exceptions
Base exception class for errors related to Hibernate configuration in Grails.
GrailsHibernateException(java.lang.String, java.lang.Throwable) - Constructor in GrailsHibernateException
GrailsHibernateQueryUtils - Class in org.grails.orm.hibernate.query
Utility methods for configuring Hibernate queries
GrailsHibernateTemplate - Class in org.grails.orm.hibernate
GrailsHibernateTemplate.CloseSuppressingInvocationHandler - Class in org.grails.orm.hibernate
Invocation handler that suppresses close calls on Hibernate Sessions.
GrailsHibernateTemplate.HibernateCallback - Interface in org.grails.orm.hibernate
GrailsHibernateTemplate(org.hibernate.SessionFactory, org.grails.orm.hibernate.HibernateDatastore, int) - Constructor in GrailsHibernateTemplate
GrailsHibernateTransactionManager - Class in org.grails.orm.hibernate
Extends the standard class to always set the flush mode to manual when in a read-only transaction.
GrailsHibernateTransactionManager(org.hibernate.SessionFactory, javax.sql.DataSource, org.grails.orm.hibernate.AbstractHibernateDatastore.FlushMode) - Constructor in GrailsHibernateTransactionManager
GrailsHibernateUtil - Class in org.grails.orm.hibernate.cfg
Utility methods for configuring Hibernate inside Grails.
GrailsIdentifierGeneratorFactory - Class in org.grails.orm.hibernate.cfg
Hibernate IdentifierGeneratorFactory that prefers sequence-identity generator over sequence generator
GrailsOpenSessionInViewInterceptor - Class in org.grails.plugin.hibernate.support
Extends the default spring OSIV and doesn't flush the session if it has been set to MANUAL on the session itself.
grailsPlugin - Property in HibernateDatastoreSpringInitializer
GrailsQueryException - Class in org.grails.orm.hibernate.exceptions
Base exception class for errors related to Domain class queries in Grails.
GrailsQueryException(java.lang.String) - Constructor in GrailsQueryException
GrailsSessionContext - Class in org.grails.orm.hibernate
Based on org.springframework.orm.hibernate4.SpringSessionContext.
GrailsSessionContext(org.hibernate.engine.spi.SessionFactoryImplementor) - Constructor in GrailsSessionContext
Constructor.
grailsVersion - Property in HibernateGrailsPlugin
GREATER_THAN - Field in AbstractHibernateCriteriaBuilder
GREATER_THAN_OR_EQUAL - Field in AbstractHibernateCriteriaBuilder
GREATER_THAN_OR_EQUAL_PROPERTY - Field in AbstractHibernateCriteriaBuilder
GREATER_THAN_PROPERTY - Field in AbstractHibernateCriteriaBuilder
groupProperty(java.lang.String, java.lang.String) - Method in AbstractHibernateCriteriaBuilder
Adds a projection that allows the criteria's result to be grouped by a property
gt(java.lang.String, java.lang.Object) - Method in AbstractHibernateCriteriaBuilder
Creates a "greater than" Criterion based on the specified property name and value
gt(java.lang.String, java.lang.Object) - Method in AbstractHibernateQuery
gt(java.lang.String, java.lang.Object) - Method in AbstractHibernateQuery.HibernateAssociationQuery
gtAll(java.lang.String, org.grails.datastore.mapping.query.api.QueryableCriteria) - Method in AbstractHibernateCriteriaBuilder
Creates a subquery criterion that ensures the given property is greater than all the given returned values
gte(java.lang.String, java.lang.Object) - Method in AbstractHibernateCriteriaBuilder
gte(java.lang.String, java.lang.Object) - Method in AbstractHibernateQuery
gte(java.lang.String, java.lang.Object) - Method in AbstractHibernateQuery.HibernateAssociationQuery
gtProperty(java.lang.String, java.lang.String) - Method in AbstractHibernateCriteriaBuilder
Creates a Criterion that tests if the first property is greater than the second property
gtSome(java.lang.String, Closure<?>) - Method in AbstractHibernateCriteriaBuilder

H

handle(grails.dev.commands.ExecutionContext) - Method in SchemaExportCommand
handleUniqueConstraint(org.grails.datastore.mapping.model.PersistentProperty, org.hibernate.mapping.Column, java.lang.String, org.grails.orm.hibernate.cfg.Table, java.lang.String, java.lang.String) - Method in GrailsDomainBinder
handleValidationError(org.grails.datastore.mapping.model.PersistentEntity, java.lang.Object, org.springframework.validation.Errors) - Method in AbstractHibernateGormInstanceApi
Sets the flush mode to manual. which ensures that the database changes are not persisted to the database if a validation error occurs.
hasCompositeIdentifier(org.grails.orm.hibernate.cfg.Mapping) - Method in GrailsDomainBinder
hasCurrentSession() - Method in HibernateDatastore
hashCode(java.lang.Object) - Method in IdentityEnumType
hashCode() - Method in SoftKey
hasJoinColumnMapping(org.grails.orm.hibernate.cfg.PropertyConfig) - Method in GrailsDomainBinder
hasJoinKeyMapping(org.grails.orm.hibernate.cfg.PropertyConfig) - Method in GrailsDomainBinder
hasJoinTableColumnNameMapping(org.grails.orm.hibernate.cfg.PropertyConfig) - Method in GrailsDomainBinder
hasTransaction() - Method in AbstractHibernateSession
HIBERNATE_CRITERION_ADAPTER - Field in HibernateQuery
hibernate - Property in HibernateConnectionSourceSettings
Settings for Hibernate
HibernateAssociationQuery(org.hibernate.criterion.DetachedCriteria, org.grails.orm.hibernate.AbstractHibernateSession, org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.model.types.Association, java.lang.String) - Constructor in AbstractHibernateQuery.HibernateAssociationQuery
HibernateConnectionSource - Class in org.grails.orm.hibernate.connections
Implements the org.grails.datastore.mapping.core.connections.ConnectionSource interface for Hibernate
HibernateConnectionSource(java.lang.String, org.hibernate.SessionFactory, ConnectionSource<DataSource,DataSourceSettings>, org.grails.orm.hibernate.connections.HibernateConnectionSourceSettings) - Constructor in HibernateConnectionSource
HibernateConnectionSourceFactory - Class in org.grails.orm.hibernate.connections
Constructs SessionFactory instances from a HibernateMappingContext
HibernateConnectionSourceFactory(java.lang.Class) - Constructor in HibernateConnectionSourceFactory
HibernateConnectionSourceSettings - Class in org.grails.orm.hibernate.connections
Settings for Hibernate
HibernateConnectionSourceSettings.HibernateSettings - Class in org.grails.orm.hibernate.connections
HibernateConnectionSourceSettings.HibernateSettings.CacheSettings - Class in org.grails.orm.hibernate.connections
HibernateConnectionSourceSettings.HibernateSettings.CacheSettings() - Constructor in HibernateConnectionSourceSettings.HibernateSettings.CacheSettings
HibernateConnectionSourceSettings.HibernateSettings.FlushSettings - Class in org.grails.orm.hibernate.connections
HibernateConnectionSourceSettings.HibernateSettings.FlushSettings.FlushMode - Enum in org.grails.orm.hibernate.connections
We use a separate enum here because the classes differ between Hibernate 3 and 4
HibernateConnectionSourceSettings.HibernateSettings.FlushSettings() - Constructor in HibernateConnectionSourceSettings.HibernateSettings.FlushSettings
HibernateConnectionSourceSettings.HibernateSettings.OsivSettings - Class in org.grails.orm.hibernate.connections
Settings for OpenSessionInView
HibernateConnectionSourceSettings.HibernateSettings.OsivSettings() - Constructor in HibernateConnectionSourceSettings.HibernateSettings.OsivSettings
HibernateConnectionSourceSettings.HibernateSettings() - Constructor in HibernateConnectionSourceSettings.HibernateSettings
HibernateConnectionSourceSettings() - Constructor in HibernateConnectionSourceSettings
HibernateConnectionSourceSettingsBuilder - Class in org.grails.orm.hibernate.connections
Builds the GORM for Hibernate configuration
HibernateConnectionSourceSettingsBuilder(org.springframework.core.env.PropertyResolver, java.lang.String, org.grails.datastore.mapping.core.connections.ConnectionSourceSettings) - Constructor in HibernateConnectionSourceSettingsBuilder
HibernateCriteriaBuilder - Class in grails.orm
HibernateCriteriaBuilder(java.lang.Class, org.hibernate.SessionFactory, boolean) - Constructor in HibernateCriteriaBuilder
HibernateCriterionAdapter - Class in org.grails.orm.hibernate.query
Authors:
Graeme Rocher
hibernateCustomUserType(java.util.Map) - Method in HibernateMappingBuilder
HibernateDatastore - Class in org.grails.orm.hibernate
Datastore implementation that uses a Hibernate SessionFactory underneath.
hibernateDatastore - Field in AbstractMultipleDataSourceAggregatePersistenceContextInterceptor
HibernateDatastore(java.lang.Package) - Constructor in HibernateDatastore
Construct a Hibernate datastore scanning the given packages
hibernateDatastore(ObjectProvider<DataSource>) - Method in HibernateGormAutoConfiguration
HibernateDatastoreConnectionSourcesRegistrar - Class in org.grails.orm.hibernate.support
A factory bean that looks up a datastore by connection name
HibernateDatastoreConnectionSourcesRegistrar(Iterable<String>) - Constructor in HibernateDatastoreConnectionSourcesRegistrar
hibernateDatastoreConnectionSourcesRegistrar(ObjectProvider<GrailsApplication>) - Method in HibernateGormAutoConfiguration
HibernateDatastoreFactoryBean - Class in org.grails.orm.hibernate.support
Helper for constructing the datastore
HibernateDatastoreFactoryBean(Class<T>, org.grails.datastore.mapping.model.MappingContext, org.hibernate.SessionFactory, org.springframework.core.env.PropertyResolver, java.lang.String) - Constructor in HibernateDatastoreFactoryBean
HibernateDatastoreSpringInitializer - Class in grails.orm.bootstrap
Class that handles the details of initializing GORM for Hibernate
HibernateDatastoreSpringInitializer(java.util.Map, Collection<Class>) - Constructor in HibernateDatastoreSpringInitializer
HibernateDialectDetectorFactoryBean - Class in org.grails.orm.hibernate.support
Authors:
Steven Devijver
hibernateDirtyChecking - Property in HibernateConnectionSourceSettings.HibernateSettings
Whether to use Hibernate's dirty checking instead of Grails'
HibernateEntity - Trait in grails.orm.hibernate
Extends the GormEntity trait adding additional Hibernate specific methods
HibernateEntityTransformation - Class in org.grails.orm.hibernate.compiler
A transformation that transforms entities that implement the grails.gorm.hibernate.annotation.ManagedEntity trait, adding logic that intercepts getter and setter access to eliminate the need for proxies.
HibernateEntityTransformation.1 - Class in org.grails.orm.hibernate.compiler
HibernateEntityTransformation.1() - Constructor in HibernateEntityTransformation.1
HibernateEntityTransformation() - Constructor in HibernateEntityTransformation
HibernateEventListener - Class in org.grails.orm.hibernate.event.listener
HibernateEventListener(org.grails.orm.hibernate.AbstractHibernateDatastore) - Constructor in HibernateEventListener
HibernateEventListeners - Class in org.grails.orm.hibernate
hibernateEventListeners - Field in EventListenerIntegrator
hibernateEventListeners - Field in HibernateConnectionSourceFactory
hibernateEventListeners - Property in HibernateConnectionSourceSettings.HibernateSettings
The default hibernate event listeners
hibernateEventListeners - Field in HibernateMappingContextSessionFactoryBean
hibernateFlushMode - Field in GrailsOpenSessionInViewInterceptor
HibernateGormAutoConfiguration - Class in grails.plugin.hibernate
EnableAutoConfiguration for GORM for Hibernate
HibernateGormAutoConfiguration(org.springframework.context.ApplicationContext, ObjectProvider<GrailsApplication>) - Constructor in HibernateGormAutoConfiguration
HibernateGormEnhancer - Class in org.grails.orm.hibernate
Extended GORM Enhancer that fills out the remaining GORM for Hibernate methods and implements string-based query support via HQL.
HibernateGormEnhancer(org.grails.datastore.mapping.core.Datastore, org.springframework.transaction.PlatformTransactionManager, org.grails.datastore.mapping.core.connections.ConnectionSourceSettings) - Constructor in HibernateGormEnhancer
HibernateGormInstanceApi - Class in org.grails.orm.hibernate
The implementation of the GORM instance API contract for Hibernate.
HibernateGormInstanceApi(Class<D>, org.grails.orm.hibernate.HibernateDatastore, java.lang.ClassLoader) - Constructor in HibernateGormInstanceApi
HibernateGormStaticApi - Class in org.grails.orm.hibernate
The implementation of the GORM static method contract for Hibernate
HibernateGormStaticApi(Class<D>, org.grails.orm.hibernate.HibernateDatastore, List<FinderMethod>, java.lang.ClassLoader, org.springframework.transaction.PlatformTransactionManager) - Constructor in HibernateGormStaticApi
HibernateGormValidationApi - Class in org.grails.orm.hibernate
HibernateGormValidationApi(Class<D>, org.grails.orm.hibernate.HibernateDatastore, java.lang.ClassLoader) - Constructor in HibernateGormValidationApi
HibernateGrailsPlugin - Class in grails.plugin.hibernate
Plugin that integrates Hibernate into a Grails application
HibernateGrailsPlugin.1 - Class in grails.plugin.hibernate
HibernateGrailsPlugin.1() - Constructor in HibernateGrailsPlugin.1
HibernateGrailsPlugin() - Constructor in HibernateGrailsPlugin
HibernateHqlQuery - Class in org.grails.orm.hibernate.query
A query implementation for HQL queries
HibernateHqlQuery(org.hibernate.Session, org.grails.datastore.mapping.model.PersistentEntity, org.hibernate.query.Query) - Constructor in HibernateHqlQuery
HibernateJtaTransactionManagerAdapter - Class in org.grails.orm.hibernate.transaction
Adapter for adding transaction controlling hooks for supporting Hibernate's org.hibernate.engine.transaction.Isolater class's interaction with transactions
HibernateJtaTransactionManagerAdapter(org.springframework.transaction.PlatformTransactionManager) - Constructor in HibernateJtaTransactionManagerAdapter
hibernateJunction - Field in AbstractHibernateQuery.HibernateAssociationQuery
hibernateJunction - Field in AbstractHibernateQuery.HibernateJunction
HibernateMappingBuilder - Class in org.grails.orm.hibernate.cfg
Implements the ORM mapping DSL constructing a model that can be evaluated by the GrailsDomainBinder class which maps GORM classes onto the database.
HibernateMappingBuilder.1 - Class in org.grails.orm.hibernate.cfg
HibernateMappingBuilder.1() - Constructor in HibernateMappingBuilder.1
HibernateMappingBuilder(org.grails.orm.hibernate.cfg.Mapping, java.lang.String, groovy.lang.Closure) - Constructor in HibernateMappingBuilder
HibernateMappingContext - Class in org.grails.orm.hibernate.cfg
A Mapping context for Hibernate
hibernateMappingContext - Field in GrailsDomainBinder
HibernateMappingContext() - Constructor in HibernateMappingContext
hibernateMappingContext - Field in HibernateMappingContextConfiguration
hibernateMappingContext - Field in HibernateMappingContextSessionFactoryBean
HibernateMappingContextConfiguration - Class in org.grails.orm.hibernate.cfg
A Configuration that uses a MappingContext to configure Hibernate
HibernateMappingContextSessionFactoryBean - Class in org.grails.orm.hibernate
Configures a SessionFactory using a HibernateMappingContext and a HibernateMappingContextConfiguration
HibernatePersistenceContextInterceptor - Class in org.grails.plugin.hibernate.support
Authors:
Graeme Rocher
HibernatePersistenceContextInterceptor(java.lang.String) - Constructor in HibernatePersistenceContextInterceptor
Parameters:
dataSourceName - a name of dataSource
HibernatePersistentEntity - Class in org.grails.orm.hibernate.cfg
Persistent entity implementation for Hibernate
HibernatePersistentEntity(java.lang.Class, org.grails.datastore.mapping.model.MappingContext) - Constructor in HibernatePersistentEntity
HibernateProjectionAdapter - Class in org.grails.orm.hibernate.query
Adapts Grails datastore API to Hibernate projections.
HibernateProjectionAdapter(org.grails.datastore.mapping.query.Query.Projection) - Constructor in HibernateProjectionAdapter
hibernateProjectionList - Field in AbstractHibernateQuery
HibernateProxyHandler - Class in org.grails.orm.hibernate.proxy
Implementation of the ProxyHandler interface for Hibernate.
hibernateProxyHandler() - Method in HibernateGormAutoConfiguration
HibernateQuery - Class in org.grails.orm.hibernate.query
Bridges the Query API with the Hibernate Criteria API
HibernateQuery(org.hibernate.criterion.DetachedCriteria, org.grails.datastore.mapping.model.PersistentEntity) - Constructor in HibernateQuery
HibernateQueryConstants - Interface in org.grails.orm.hibernate.query
Constants used for query arguments etc.
HibernateRuntimeUtils - Class in org.grails.orm.hibernate.support
Utility methods used at runtime by the GORM for Hibernate implementation
HibernateRuntimeUtils() - Constructor in HibernateRuntimeUtils
HibernateSession - Class in org.grails.orm.hibernate
Session implementation that wraps a Hibernate org.hibernate.Session.
hibernateSession - Field in AbstractHibernateCriteriaBuilder
hibernateSession - Field in AbstractHibernateGormStaticApi
HibernateSession(org.grails.orm.hibernate.HibernateDatastore, org.hibernate.SessionFactory) - Constructor in HibernateSession
hibernateTemplate - Field in AbstractHibernateGormInstanceApi
hibernateTemplate - Field in AbstractHibernateGormStaticApi
hibernateTemplate - Field in AbstractHibernateGormValidationApi
hibernateTemplate - Field in AbstractHibernateSession
hibernateTemplate - Field in InstanceApiHelper
HibernateVersionSupport - Class in org.grails.orm.hibernate.support
Methods to deal with the differences in different Hibernate versions

I

id() - Method in AbstractHibernateCriteriaBuilder
id() - Method in AbstractHibernateQuery.HibernateProjectionList
ID_EQUALS - Field in AbstractHibernateCriteriaBuilder
id(java.util.Map) - Method in HibernateMappingBuilder
id(org.grails.orm.hibernate.cfg.CompositeIdentity) - Method in Mapping
Define the identity config
Identity - Class in org.grails.orm.hibernate.cfg
Defines the identity generation strategy.
Identity() - Constructor in Identity
identity - Property in Mapping
The identity definition
IdentityEnumType - Class in org.grails.orm.hibernate.cfg
Hibernate Usertype that enum values by their ID.
identityType - Field in HibernateGormStaticApi
idEq(java.lang.Object) - Method in AbstractHibernateCriteriaBuilder
idEq(java.lang.Object) - Method in AbstractHibernateQuery
idEq(java.lang.Object) - Method in AbstractHibernateQuery.HibernateAssociationQuery
idEquals(java.lang.Object) - Method in AbstractHibernateCriteriaBuilder
ignoreNotFound - Property in PropertyConfig
Whether to ignore ObjectNotFoundException
IHibernateTemplate - Interface in org.grails.orm.hibernate
Template interface that can be used with both Hibernate 3 and Hibernate 4
ILIKE - Field in AbstractHibernateCriteriaBuilder
ilike(java.lang.String, java.lang.String) - Method in AbstractHibernateQuery
ilike(java.lang.String, java.lang.String) - Method in AbstractHibernateQuery.HibernateAssociationQuery
IMAGE - Field in HibernateCriteriaBuilder
IN - Field in AbstractHibernateCriteriaBuilder
in(java.lang.String, java.util.List) - Method in AbstractHibernateQuery
in(java.lang.String, java.util.List) - Method in AbstractHibernateQuery.HibernateAssociationQuery
include - Property in CacheConfig
What to include in caching
INCLUDE_OPTIONS - Property in CacheConfig
includeIdentifiers() - Method in HibernatePersistentEntity
includes(groovy.lang.Closure) - Method in HibernateMappingBuilder
Include another config in this one
incrementVersion(java.lang.Object) - Method in AbstractHibernateGormInstanceApi
Increments the entities version number in order to force an update
incrementVersion(java.lang.Object) - Method in GrailsHibernateUtil
Increments the entities version number in order to force an update
index - Property in ColumnConfig
The index, can be either a boolean or a string for the name of the index
indexColumn - Property in PropertyConfig
The column used to produce the index for index based collections (lists and maps)
init() - Method in AbstractMultipleDataSourceAggregatePersistenceContextInterceptor
init() - Method in HibernatePersistenceContextInterceptor
initialize() - Method in AbstractHibernateCriterionAdapter
initialize() - Method in HibernateDatastore
initialize(java.lang.Object) - Method in HibernateProxyHandler
initialize() - Method in PagedResultList
initialize(java.lang.Object) - Method in SimpleHibernateProxyHandler
initialized - Field in AbstractHibernateCriterionAdapter
initializeJoinStatus() - Method in AbstractHibernateQuery
initJta() - Method in GrailsSessionContext
inList(java.lang.String, java.lang.Object) - Method in AbstractHibernateCriteriaBuilder
Delegates to in as in is a Groovy keyword
insert(D, java.util.Map) - Method in AbstractHibernateGormInstanceApi
insert(java.lang.Object) - Method in AbstractHibernateSession
insertable - Property in DiscriminatorConfig
Whether it is insertable
insertable - Property in PropertyConfig
Whether or not this is column is insertable by hibernate
insertActiveThreadLocal - Property in AbstractHibernateGormInstanceApi
When a domain instance is saved without validation, we put it into this thread local variable.
instance - Field in InstanceProxy
instanceApi - Field in InstanceProxy
InstanceApiHelper - Class in org.grails.orm.hibernate
Workaround for VerifyErrors in Groovy when using a HibernateCallback.
instanceApiHelper - Field in HibernateGormInstanceApi
InstanceApiHelper(org.grails.orm.hibernate.GrailsHibernateTemplate) - Constructor in InstanceApiHelper
instanceOf(D, java.lang.Class) - Method in AbstractHibernateGormInstanceApi
InstanceProxy - Class in org.grails.orm.hibernate.cfg
InstanceProxy(java.lang.Object, org.grails.orm.hibernate.AbstractHibernateGormInstanceApi, org.grails.orm.hibernate.AbstractHibernateGormValidationApi) - Constructor in InstanceProxy
INTEGER - Field in HibernateCriteriaBuilder
integrate(org.hibernate.boot.Metadata, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.service.spi.SessionFactoryServiceRegistry) - Method in EventListenerIntegrator
integrate(org.hibernate.boot.Metadata, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.service.spi.SessionFactoryServiceRegistry) - Method in MetadataIntegrator
interceptor - Field in HibernateConnectionSourceFactory
interceptors - Field in AbstractMultipleDataSourceAggregatePersistenceContextInterceptor
intValue(java.util.Map, java.lang.String) - Method in AbstractHibernateGormStaticApi
invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object) - Method in GrailsHibernateTemplate.CloseSuppressingInvocationHandler
invokeMethod(java.lang.String, java.lang.Object) - Method in AbstractHibernateCriteriaBuilder
invokeMethod(java.lang.String, java.lang.Object) - Method in HibernateMappingBuilder.1
invokeMethod(java.lang.String, java.lang.Object) - Method in InstanceProxy
IS_EMPTY - Field in AbstractHibernateCriteriaBuilder
IS_NOT_EMPTY - Field in AbstractHibernateCriteriaBuilder
IS_NOT_NULL - Field in AbstractHibernateCriteriaBuilder
IS_NULL - Field in AbstractHibernateCriteriaBuilder
isApplyFlushModeOnlyToNonExistingTransactions() - Method in GrailsHibernateTemplate
isAtLeastVersion(java.lang.String) - Method in HibernateVersionSupport
Check the current hibernate version
isAttached(D) - Method in AbstractHibernateGormInstanceApi
isAutoFlush() - Method in AbstractHibernateDatastore
isBidirectionalManyToOne(org.grails.datastore.mapping.model.PersistentProperty) - Method in GrailsDomainBinder
isBidirectionalManyToOneWithListMapping(org.grails.datastore.mapping.model.PersistentProperty, org.grails.datastore.mapping.config.Property) - Method in GrailsDomainBinder
isBidirectionalOneToManyMap(org.grails.datastore.mapping.model.types.Association) - Method in GrailsDomainBinder
isCacheQueries - Field in AbstractHibernateDatastore
isCacheQueries() - Method in GrailsHibernateTemplate
isCircularAssociation(org.grails.datastore.mapping.model.PersistentProperty) - Method in GrailsDomainBinder
isComponentPropertyNullable(org.grails.datastore.mapping.model.PersistentProperty) - Method in GrailsDomainBinder
isCompositeIdProperty(org.grails.orm.hibernate.cfg.Mapping, org.grails.datastore.mapping.model.PersistentProperty) - Method in GrailsDomainBinder
isConnected() - Method in AbstractHibernateSession
isDirty(java.lang.Object) - Method in AbstractHibernateSession
isDirty(java.lang.Object, org.hibernate.persister.entity.EntityPersister, org.hibernate.Session) - Method in GrailsEntityDirtinessStrategy
isDirty(org.hibernate.CustomEntityDirtinessStrategy.AttributeInformation) - Method in GrailsEntityDirtinessStrategy.1
isDirty(D) - Method in HibernateGormInstanceApi
Checks whether an entity is dirty
isDomainClass(java.lang.Class) - Method in HibernateMappingContext
isEmpty(java.lang.String) - Method in AbstractHibernateCriteriaBuilder
isEmpty(java.lang.String) - Method in AbstractHibernateQuery
isEmpty(java.lang.String) - Method in AbstractHibernateQuery.HibernateAssociationQuery
isEmpty() - Method in AbstractHibernateQuery.HibernateProjectionList
isExposeNativeSession() - Method in GrailsHibernateTemplate
isFailOnError() - Method in AbstractHibernateDatastore
isIdentityProperty(org.grails.orm.hibernate.cfg.Mapping, org.grails.datastore.mapping.model.PersistentProperty) - Method in GrailsDomainBinder
isInitialized(java.lang.Object, java.lang.String) - Method in GrailsHibernateUtil
Checks whether an associated property is initialized and returns true if it is
isInitialized(java.lang.Object) - Method in HibernateProxyHandler
isInitialized(java.lang.Object, java.lang.String) - Method in SimpleHibernateProxyHandler
isJdbcBatchVersionedData - Property in GrailsHibernateTransactionManager
isMappedWithHibernate(org.grails.datastore.mapping.model.PersistentEntity) - Method in GrailsHibernateUtil
isMutable() - Method in IdentityEnumType
isNonPropertyToken(java.lang.String) - Method in GrailsDomainBinder
isNotEmpty(java.lang.String) - Method in AbstractHibernateCriteriaBuilder
isNotEmpty(java.lang.String) - Method in AbstractHibernateQuery
isNotEmpty(java.lang.String) - Method in AbstractHibernateQuery.HibernateAssociationQuery
isNotEmpty(java.lang.String) - Method in GrailsDomainBinder
isNotEmpty(java.lang.String) - Method in GrailsHibernateUtil
isNotNull(java.lang.String) - Method in AbstractHibernateCriteriaBuilder
isNotNull(java.lang.String) - Method in AbstractHibernateQuery
isNotNull(java.lang.String) - Method in AbstractHibernateQuery.HibernateAssociationQuery
isNull(java.lang.String) - Method in AbstractHibernateCriteriaBuilder
isNull(java.lang.String) - Method in AbstractHibernateQuery
isNull(java.lang.String) - Method in AbstractHibernateQuery.HibernateAssociationQuery
isOpen() - Method in AbstractMultipleDataSourceAggregatePersistenceContextInterceptor
isOpen() - Method in HibernatePersistenceContextInterceptor
isOsivReadOnly() - Method in AbstractHibernateDatastore
isOsivReadOnly() - Method in GrailsHibernateTemplate
isPassReadOnlyToHibernate() - Method in AbstractHibernateDatastore
isProxy(java.lang.Object) - Method in HibernateProxyHandler
isProxy(java.lang.Object) - Method in SimpleHibernateProxyHandler
isProxyIfReloadEnabled() - Method in HibernateMappingContextSessionFactoryBean
isRowCount() - Method in AbstractHibernateQuery.HibernateProjectionList
isSaveUpdateCascade(java.lang.String) - Method in GrailsDomainBinder
Check if a save-update cascade is defined within the Hibernate cascade properties string.
isSchemaless() - Method in AbstractHibernateSession
isSessionTransactional(org.hibernate.Session) - Method in GrailsHibernateTemplate
isSingleton() - Method in DataSourceFactoryBean
isSingleton() - Method in HibernateDatastoreFactoryBean
isSingleton() - Method in HibernateDialectDetectorFactoryBean
isSingleton() - Method in HibernateMappingContextSessionFactoryBean
isSorted(org.grails.datastore.mapping.model.PersistentProperty) - Method in GrailsDomainBinder
Establish whether a collection property is sorted
issueManagement - Property in HibernateGrailsPlugin
isTablePerConcreteClass() - Method in Mapping
isUnidirectionalOneToMany(org.grails.datastore.mapping.model.PersistentProperty) - Method in GrailsDomainBinder
Checks whether a property is a unidirectional non-circular one-to-many
isUnique() - Method in PropertyConfig
Shortcut to determine whether the property's column is configured to be unique.
isValidMappingStrategy(java.lang.Class, java.lang.Object) - Method in HibernateMappingContext

J

jdbcExceptionTranslator - Field in GrailsHibernateTemplate
join(java.lang.String, jakarta.persistence.criteria.JoinType) - Method in AbstractHibernateCriteriaBuilder
join(java.lang.String) - Method in AbstractHibernateQuery
JoinTable - Class in org.grails.orm.hibernate.cfg
Represents a Join table in Grails mapping.
JoinTable() - Constructor in JoinTable
joinTable - Property in PropertyConfig
The join table configuration
jtaSessionContext - Field in GrailsSessionContext

K

key - Property in JoinTable
The foreign key column

L

last(java.util.Map) - Method in AbstractHibernateGormStaticApi
le(java.lang.String, java.lang.Object) - Method in AbstractHibernateCriteriaBuilder
Creates a "less than or equal to" Criterion based on the specified property name and value
le(java.lang.String, java.lang.Object) - Method in AbstractHibernateQuery
le(java.lang.String, java.lang.Object) - Method in AbstractHibernateQuery.HibernateAssociationQuery
leAll(java.lang.String, org.grails.datastore.mapping.query.api.QueryableCriteria) - Method in AbstractHibernateCriteriaBuilder
Creates a subquery criterion that ensures the given property is less than all the given returned values
length - Property in ColumnConfig
The length of the column
leProperty(java.lang.String, java.lang.String) - Method in AbstractHibernateCriteriaBuilder
Creates a Criterion that tests if the first property is less than or equal to the second property
leSome(java.lang.String, Closure<?>) - Method in AbstractHibernateCriteriaBuilder
LESS_THAN - Field in AbstractHibernateCriteriaBuilder
LESS_THAN_OR_EQUAL - Field in AbstractHibernateCriteriaBuilder
LESS_THAN_OR_EQUAL_PROPERTY - Field in AbstractHibernateCriteriaBuilder
LESS_THAN_PROPERTY - Field in AbstractHibernateCriteriaBuilder
license - Property in HibernateGrailsPlugin
LIKE - Field in AbstractHibernateCriteriaBuilder
like(java.lang.String, java.lang.String) - Method in AbstractHibernateQuery
like(java.lang.String, java.lang.String) - Method in AbstractHibernateQuery.HibernateAssociationQuery
linkBidirectionalOneToMany(java.util.Collection, org.hibernate.mapping.PersistentClass, org.hibernate.mapping.DependantValue, org.grails.datastore.mapping.model.PersistentProperty) - Method in GrailsDomainBinder
Links a bidirectional one-to-many, configuring the inverse side and using a column copy to perform the link
linkValueUsingAColumnCopy(org.grails.datastore.mapping.model.PersistentProperty, org.hibernate.mapping.Column, org.hibernate.mapping.DependantValue) - Method in GrailsDomainBinder
list(java.util.Map, groovy.lang.Closure) - Method in AbstractHibernateCriteriaBuilder
list() - Method in AbstractHibernateQuery
LIST_CALL - Field in AbstractHibernateCriteriaBuilder
LIST_DISTINCT_CALL - Field in AbstractHibernateCriteriaBuilder
list(java.util.Map) - Method in HibernateGormStaticApi
listDistinct(groovy.lang.Closure) - Method in AbstractHibernateCriteriaBuilder
listForCriteria() - Method in AbstractHibernateQuery
load(java.io.Serializable) - Method in AbstractHibernateGormStaticApi
load(Class<T>, java.io.Serializable) - Method in GrailsHibernateTemplate
load(Class<T>, java.io.Serializable) - Method in IHibernateTemplate
loadAfter - Property in HibernateGrailsPlugin
loadAll(Class<T>) - Method in GrailsHibernateTemplate
loadJavaServices(Class<S>) - Method in HibernateMappingContextConfiguration
LOCALE - Field in HibernateCriteriaBuilder
locateServiceBinding(Class<R>) - Method in HibernateDialectDetectorFactoryBean
lock(boolean) - Method in AbstractHibernateCriteriaBuilder
Whether a pessimistic lock should be obtained.
lock(D) - Method in AbstractHibernateGormInstanceApi
lock(boolean) - Method in AbstractHibernateQuery
lock(Class<T>, java.io.Serializable) - Method in AbstractHibernateSession
lock(java.lang.Object, org.hibernate.LockMode) - Method in GrailsHibernateTemplate
lock(java.io.Serializable) - Method in HibernateGormStaticApi
lock(java.lang.Object, org.hibernate.LockMode) - Method in IHibernateTemplate
LOG - Field in ClosureEventListener
LOG - Field in GrailsDomainBinder
LOG - Field in GrailsEntityDirtinessStrategy
LOG - Field in GrailsHibernateUtil
LOG - Property in HibernateMappingBuilder
logCascadeMapping(org.grails.datastore.mapping.model.types.Association, java.lang.String, org.grails.datastore.mapping.model.PersistentEntity) - Method in GrailsDomainBinder
LogicalExpression(java.lang.Object) - Constructor in AbstractHibernateCriteriaBuilder.LogicalExpression
logicalExpressionStack - Field in AbstractHibernateCriteriaBuilder
LONG - Field in HibernateCriteriaBuilder
lt(java.lang.String, java.lang.Object) - Method in AbstractHibernateCriteriaBuilder
Creates a "less than" Criterion based on the specified property name and value
lt(java.lang.String, java.lang.Object) - Method in AbstractHibernateQuery
lt(java.lang.String, java.lang.Object) - Method in AbstractHibernateQuery.HibernateAssociationQuery
ltAll(java.lang.String, org.grails.datastore.mapping.query.api.QueryableCriteria) - Method in AbstractHibernateCriteriaBuilder
Creates a subquery criterion that ensures the given property is less than all the given returned values
lte(java.lang.String, java.lang.Object) - Method in AbstractHibernateCriteriaBuilder
lte(java.lang.String, java.lang.Object) - Method in AbstractHibernateQuery
lte(java.lang.String, java.lang.Object) - Method in AbstractHibernateQuery.HibernateAssociationQuery
ltProperty(java.lang.String, java.lang.String) - Method in AbstractHibernateCriteriaBuilder
Creates a Criterion that tests if the first property is less than the second property
ltSome(java.lang.String, Closure<?>) - Method in AbstractHibernateCriteriaBuilder

M

ManagedEntity - Annotation Type in grails.orm.hibernate.annotation
MANUAL - Enum Constant in AbstractHibernateDatastore.FlushMode
MANUAL - Enum Constant in HibernateConnectionSourceSettings.HibernateSettings.FlushSettings.FlushMode
Mapping - Class in org.grails.orm.hibernate.cfg
Models the mapping from GORM classes to the db.
MAPPING_CACHE - Field in AbstractGrailsDomainBinder
mapping - Property in HibernateMappingBuilder
Mapping() - Constructor in Mapping
MappingBuilder - Class in grails.orm.hibernate.mapping
Entry point for the ORM mapping configuration DSL
MappingBuilder() - Constructor in MappingBuilder
mappingContext - Field in HibernateConnectionSourceFactory
mappingDirectoryLocations - Property in HibernateConnectionSourceSettings.HibernateSettings
Set locations of directories that contain Hibernate mapping resources, like "WEB-INF/mappings".
mappingJarLocations - Property in HibernateConnectionSourceSettings.HibernateSettings
Set locations of jar files that contain Hibernate mapping resources, like "WEB-INF/lib/example.hbm.jar".
mappingLocations - Property in HibernateConnectionSourceSettings.HibernateSettings
Set locations of Hibernate mapping files, for example as classpath resource "classpath:example.hbm.xml".
markDirty - Field in AbstractHibernateDatastore
markInsertActive() - Method in AbstractHibernateGormInstanceApi
Called by org.grails.orm.hibernate.metaclass.SavePersistentMethod's performInsert to set a ThreadLocal variable that determines the value for getAssumedUnsaved().
matchesFilter(org.springframework.core.type.classreading.MetadataReader, org.springframework.core.type.classreading.MetadataReaderFactory) - Method in HibernateMappingContextConfiguration
Check whether any of the configured entity type filters matches the current class descriptor contained in the metadata reader.
MATERIALIZED_BLOB - Field in HibernateCriteriaBuilder
MATERIALIZED_CLOB - Field in HibernateCriteriaBuilder
max(java.lang.String, java.lang.String) - Method in AbstractHibernateCriteriaBuilder
Adds a projection that allows the criteria to retrieve a maximum property value
max(int) - Method in AbstractHibernateQuery
max(java.lang.String) - Method in AbstractHibernateQuery.HibernateProjectionList
MAX_VALUE - Field in HibernateConnectionSourceSettings.HibernateSettings.FlushSettings.FlushMode
maxResults(int) - Method in AbstractHibernateQuery
merge(D, java.util.Map) - Method in AbstractHibernateGormInstanceApi
messageSource - Field in HibernateConnectionSourceFactory
metadata - Field in HibernateDatastore
metadata - Property in MetadataIntegrator
metadataBuildingContext - Field in GrailsDomainBinder
metadataContributor - Field in HibernateConnectionSourceFactory
MetadataIntegrator - Class in org.grails.orm.hibernate
MetadataIntegrator() - Constructor in MetadataIntegrator
methodMissing(java.lang.String, java.lang.Object) - Method in HibernateMappingBuilder
methodMissing(java.lang.String, java.lang.Object) - Method in Mapping
min(java.lang.String, java.lang.String) - Method in AbstractHibernateCriteriaBuilder
Adds a projection that allows the criteria to retrieve a minimum property value
min(java.lang.String) - Method in AbstractHibernateQuery.HibernateProjectionList
MIN_VALUE - Field in HibernateConnectionSourceSettings.HibernateSettings.FlushSettings.FlushMode
mode - Property in HibernateConnectionSourceSettings.HibernateSettings.FlushSettings
The default flush mode
MultipleDataSourceSupport - Class in org.grails.orm.hibernate.datasource
Support methods for Multiple data source handling
MultiTenantEventListener - Class in org.grails.orm.hibernate.multitenancy
An event listener that hooks into persistence events to enable discriminator based multi tenancy (ie org.grails.datastore.mapping.multitenancy.MultiTenancySettings.MultiTenancyMode#DISCRIMINATOR
multiTenantMode - Field in AbstractHibernateDatastore
mutable - Property in NaturalId
Whether the natural id is mutable

N

name - Field in AbstractHibernateCriteriaBuilder.LogicalExpression
name - Property in ColumnConfig
The column name
name - Property in Identity
The name of the id property
name - Property in SortConfig
The property to sort bu
name - Property in Table
The table name
namesAndDirections - Property in SortConfig
NAMING_STRATEGIES - Field in GrailsDomainBinder
Overrideable naming strategy.
naming_strategy - Property in HibernateConnectionSourceSettings.HibernateSettings
The naming strategy
namingStrategy - Field in GrailsDomainBinder
natural - Property in Identity
The natural id definition
NaturalId - Class in org.grails.orm.hibernate.cfg
Authors:
Graeme Rocher
naturalId(groovy.lang.Closure) - Method in Identity
Define the natural id
NaturalId() - Constructor in NaturalId
ne(java.lang.String, java.lang.Object) - Method in AbstractHibernateCriteriaBuilder
Creates a "not equal" Criterion based on the specified property name and value
negation() - Method in AbstractHibernateQuery
negation() - Method in AbstractHibernateQuery.HibernateAssociationQuery
neProperty(java.lang.String, java.lang.String) - Method in AbstractHibernateCriteriaBuilder
Creates a Criterion that compares to class properties for !
newConfiguration() - Method in HibernateMappingContextSessionFactoryBean
NOT - Field in AbstractHibernateCriteriaBuilder
NOT_EQUAL - Field in AbstractHibernateCriteriaBuilder
NOT_EQUAL_PROPERTY - Field in AbstractHibernateCriteriaBuilder
notEqual(java.lang.String, java.lang.Object) - Method in AbstractHibernateCriteriaBuilder
notExists(QueryableCriteria<?>) - Method in AbstractHibernateCriteriaBuilder
notIn(java.lang.String, Closure<?>) - Method in AbstractHibernateCriteriaBuilder
nullSafeGet(java.sql.ResultSet, java.lang.String, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object) - Method in IdentityEnumType
nullSafeSet(java.sql.PreparedStatement, java.lang.Object, int, org.hibernate.engine.spi.SharedSessionContractImplementor) - Method in IdentityEnumType
NUMERIC_BOOLEAN - Field in HibernateCriteriaBuilder

O

observe - Property in HibernateGrailsPlugin
offset(int) - Method in AbstractHibernateQuery
onApplicationEvent(org.springframework.context.ApplicationEvent) - Method in MultiTenantEventListener
ONLOAD_EVENT - Field in ClosureEventTriggeringInterceptor
deprecated:
Use AbstractPersistenceEvent#ONLOAD_EVENT#ONLOAD_EVENT instead
ONLOAD_SAVE - Field in ClosureEventTriggeringInterceptor
deprecated:
Use AbstractPersistenceEvent#ONLOAD_SAVE#ONLOAD_SAVE instead
onPersistenceEvent(org.grails.datastore.mapping.engine.event.AbstractPersistenceEvent) - Method in HibernateEventListener
onPostDelete(org.hibernate.event.spi.PostDeleteEvent) - Method in ClosureEventListener
onPostDelete(org.hibernate.event.spi.PostDeleteEvent) - Method in ClosureEventTriggeringInterceptor
onPostDelete(org.hibernate.event.spi.PostDeleteEvent) - Method in HibernateEventListener
onPostInsert(org.hibernate.event.spi.PostInsertEvent) - Method in ClosureEventListener
onPostInsert(org.hibernate.event.spi.PostInsertEvent) - Method in ClosureEventTriggeringInterceptor
onPostInsert(org.hibernate.event.spi.PostInsertEvent) - Method in HibernateEventListener
onPostLoad(org.hibernate.event.spi.PostLoadEvent) - Method in ClosureEventListener
onPostLoad(org.hibernate.event.spi.PostLoadEvent) - Method in ClosureEventTriggeringInterceptor
onPostLoad(org.hibernate.event.spi.PostLoadEvent) - Method in HibernateEventListener
onPostUpdate(org.hibernate.event.spi.PostUpdateEvent) - Method in ClosureEventListener
onPostUpdate(org.hibernate.event.spi.PostUpdateEvent) - Method in ClosureEventTriggeringInterceptor
onPostUpdate(org.hibernate.event.spi.PostUpdateEvent) - Method in HibernateEventListener
onPreDelete(org.hibernate.event.spi.PreDeleteEvent) - Method in ClosureEventListener
onPreDelete(org.hibernate.event.spi.PreDeleteEvent) - Method in ClosureEventTriggeringInterceptor
onPreDelete(org.hibernate.event.spi.PreDeleteEvent) - Method in HibernateEventListener
onPreInsert(org.hibernate.event.spi.PreInsertEvent) - Method in ClosureEventListener
onPreInsert(org.hibernate.event.spi.PreInsertEvent) - Method in ClosureEventTriggeringInterceptor
onPreInsert(org.hibernate.event.spi.PreInsertEvent) - Method in HibernateEventListener
onPreLoad(org.hibernate.event.spi.PreLoadEvent) - Method in ClosureEventListener
onPreLoad(org.hibernate.event.spi.PreLoadEvent) - Method in ClosureEventTriggeringInterceptor
onPreLoad(org.hibernate.event.spi.PreLoadEvent) - Method in HibernateEventListener
onPreUpdate(org.hibernate.event.spi.PreUpdateEvent) - Method in ClosureEventListener
onPreUpdate(org.hibernate.event.spi.PreUpdateEvent) - Method in ClosureEventTriggeringInterceptor
onPreUpdate(org.hibernate.event.spi.PreUpdateEvent) - Method in HibernateEventListener
onSaveOrUpdate(org.hibernate.event.spi.SaveOrUpdateEvent) - Method in ClosureEventListener
onSaveOrUpdate(org.hibernate.event.spi.SaveOrUpdateEvent) - Method in ClosureEventTriggeringInterceptor
onSaveOrUpdate(org.hibernate.event.spi.SaveOrUpdateEvent) - Method in HibernateEventListener
onValidate(org.grails.datastore.mapping.engine.event.ValidationEvent) - Method in ClosureEventListener
onValidate(org.grails.datastore.mapping.engine.event.ValidationEvent) - Method in HibernateEventListener
openSession() - Method in AbstractHibernateDatastore
Returns:
Opens a session
openSession() - Method in GrailsOpenSessionInViewInterceptor
openSession() - Method in HibernateDatastore
openSessionInViewInterceptor(org.grails.orm.hibernate.HibernateDatastore) - Method in HibernateGormAutoConfiguration
opField - Field in AbstractHibernateQuery
OR - Field in AbstractHibernateCriteriaBuilder
or(org.hibernate.criterion.Criterion, org.hibernate.criterion.Criterion) - Method in AbstractHibernateQuery
or(org.hibernate.criterion.Criterion, org.hibernate.criterion.Criterion) - Method in AbstractHibernateQuery.HibernateAssociationQuery
order(java.lang.String, java.lang.String) - Method in AbstractHibernateCriteriaBuilder
Orders by the specified property name and direction
order(org.springframework.core.annotation.Order) - Method in AbstractHibernateQuery
order(org.springframework.core.annotation.Order) - Method in AbstractHibernateQuery.HibernateAssociationQuery
ORDER_ASC - Field in GrailsHibernateUtil
ORDER_ASCENDING - Field in AbstractHibernateCriteriaBuilder
ORDER_DESC - Field in GrailsHibernateUtil
ORDER_DESCENDING - Field in AbstractHibernateCriteriaBuilder
order(java.lang.String) - Method in HibernateMappingBuilder
order - Property in PropertyConfig
The default sort order
orderEntries - Field in AbstractHibernateCriteriaBuilder
organization - Property in HibernateGrailsPlugin
orm(groovy.lang.Closure) - Method in MappingBuilder
Build a Hibernate mapping
osiv - Property in HibernateConnectionSourceSettings.HibernateSettings
Whether OpenSessionInView should be read-only
osivReadOnly - Field in AbstractHibernateDatastore

P

packagesToScan - Property in HibernateConnectionSourceSettings.HibernateSettings
Specify packages to search for autodetection of your entity classes in the classpath.
PagedResultList - Class in org.grails.orm.hibernate.query
PagedResultList(org.grails.orm.hibernate.GrailsHibernateTemplate, org.grails.datastore.mapping.model.PersistentEntity, org.grails.orm.hibernate.query.HibernateHqlQuery, org.hibernate.criterion.CriteriaQuery, jakarta.persistence.criteria.Root, jakarta.persistence.criteria.CriteriaBuilder) - Constructor in PagedResultList
paginationEnabledList - Field in AbstractHibernateCriteriaBuilder
PARAM_ENUM_CLASS - Field in IdentityEnumType
params - Property in Identity
Any parameters (for example for the generator)
participate - Field in AbstractHibernateCriteriaBuilder
passReadOnlyToHibernate - Field in AbstractHibernateDatastore
performInsert(D, boolean) - Method in AbstractHibernateGormInstanceApi
performMerge(D, boolean) - Method in AbstractHibernateGormInstanceApi
performSave(D, boolean) - Method in AbstractHibernateGormInstanceApi
persist(java.lang.Iterable) - Method in AbstractHibernateSession
persistenceInterceptor(org.grails.orm.hibernate.HibernateDatastore) - Method in HibernateGormAutoConfiguration
persistentClasses - Field in HibernateConnectionSourceFactory
persistentEntityAdded(org.grails.datastore.mapping.model.PersistentEntity) - Method in HibernateDatastore
PersistentEntityNamingStrategy - Interface in org.grails.orm.hibernate.cfg
Allows plugging into to custom naming strategies
PlatformTransactionManagerProxy - Class in org.grails.orm.hibernate.transaction
A proxy for the org.springframework.transaction.PlatformTransactionManager instance
PlatformTransactionManagerProxy() - Constructor in PlatformTransactionManagerProxy
pluginExcludes - Property in HibernateGrailsPlugin
populateArgumentsForCriteria(org.grails.datastore.mapping.model.PersistentEntity, org.grails.datastore.mapping.query.Query, java.util.Map, org.springframework.core.convert.ConversionService, boolean) - Method in GrailsHibernateQueryUtils
Populates criteria arguments for the given target class and arguments map
populateArgumentsForCriteria(org.hibernate.Criteria, java.util.Map, org.springframework.core.convert.ConversionService) - Method in GrailsHibernateUtil
populateProperties(java.util.Properties, java.util.Map, java.lang.String) - Method in HibernateConnectionSourceSettings.HibernateSettings
populateQueryArguments(org.grails.datastore.mapping.query.Query, java.util.Map) - Method in AbstractHibernateGormStaticApi
populateQueryWithNamedArguments(org.grails.datastore.mapping.query.Query, java.util.Map) - Method in AbstractHibernateGormStaticApi
postHandle(org.springframework.web.context.request.WebRequest, org.springframework.ui.ModelMap) - Method in GrailsOpenSessionInViewInterceptor
postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry) - Method in HibernateDatastoreConnectionSourcesRegistrar
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory) - Method in HibernateDatastoreConnectionSourcesRegistrar
precision - Property in ColumnConfig
The precision of the column
prepareCriteria(Query<T>) - Method in GrailsHibernateTemplate
Prepare the given Query object, applying cache settings and/or a transaction timeout.
prepareMultiTenantClosure(Closure<T>) - Method in AbstractHibernateDatastore
prepareQuery(org.hibernate.query.Query) - Method in GrailsHibernateTemplate
Prepare the given Query object, applying cache settings and/or a transaction timeout.
projectionList - Field in AbstractHibernateCriteriaBuilder
PROJECTIONS - Field in AbstractHibernateCriteriaBuilder
projections() - Method in AbstractHibernateQuery
property(java.lang.String, java.lang.String) - Method in AbstractHibernateCriteriaBuilder
A projection that selects a property name
property(java.lang.String) - Method in AbstractHibernateQuery.HibernateProjectionList
property(java.util.Map) - Method in Mapping
Configure a new property
PropertyConfig - Class in org.grails.orm.hibernate.cfg
Custom mapping for a single domain property.
PropertyConfig() - Constructor in PropertyConfig
PropertyDefinitionDelegate - Class in org.grails.orm.hibernate.cfg
Builder delegate that handles multiple-column definitions for a single domain property, e.g.
PropertyDefinitionDelegate(org.grails.orm.hibernate.cfg.PropertyConfig) - Constructor in PropertyDefinitionDelegate
propertyMissing(java.lang.String) - Method in HibernateGormStaticApi
propertyMissing(java.lang.String, java.lang.Object) - Method in Mapping
propertyNames - Property in CompositeIdentity
The property names that make up the custom identity
propertyNames - Property in NaturalId
The property names that make up the natural id
proxy(Class<T>, java.io.Serializable) - Method in AbstractHibernateSession
proxyHandler - Field in AbstractHibernateGormInstanceApi
proxyHandler - Field in AbstractHibernateGormStaticApi
proxyHandler - Field in AbstractHibernateQuery
proxyHandler(org.grails.orm.hibernate.proxy.HibernateProxyHandler) - Method in HibernateGormAutoConfiguration
proxyIfReloadEnabled - Field in HibernateMappingContextSessionFactoryBean
putAt(java.lang.String, java.lang.Object) - Method in InstanceProxy

Q

qualify(java.lang.String, java.lang.String) - Method in GrailsDomainBinder
qualify(java.lang.String, java.lang.String) - Method in GrailsHibernateUtil
queries - Property in HibernateConnectionSourceSettings.HibernateSettings.CacheSettings
Whether to cache queries

R

read(java.io.Serializable) - Method in AbstractHibernateGormStaticApi
read - Property in ColumnConfig
A custom read string
readOnly(boolean) - Method in AbstractHibernateCriteriaBuilder
Whether to check for changes on the objects loaded
readOnly - Property in HibernateConnectionSourceSettings.HibernateSettings
Whether Hibernate should be in read-only mode
readonly - Property in HibernateConnectionSourceSettings.HibernateSettings.OsivSettings
Whether to cache queries
readPreviousFlushMode(org.hibernate.Session) - Method in AbstractHibernateGormValidationApi
readPreviousFlushMode(org.hibernate.Session) - Method in HibernateGormValidationApi
reconnect() - Method in AbstractMultipleDataSourceAggregatePersistenceContextInterceptor
reconnect() - Method in HibernatePersistenceContextInterceptor
refresh(D) - Method in AbstractHibernateGormInstanceApi
refresh(java.lang.Object) - Method in AbstractHibernateSession
refresh(java.lang.Object, org.hibernate.LockMode) - Method in GrailsHibernateTemplate
refresh(java.lang.Object) - Method in IHibernateTemplate
registerAllEntitiesWithEnhancer() - Method in HibernateDatastore
registerChild(org.hibernate.service.spi.ServiceRegistryImplementor) - Method in HibernateDialectDetectorFactoryBean
registerConstraints(org.grails.datastore.mapping.core.Datastore) - Method in HibernateGormEnhancer
registerEventListeners(org.grails.datastore.gorm.events.ConfigurableApplicationEventPublisher) - Method in HibernateDatastore
registerJtaSynchronization(org.hibernate.Session, org.springframework.orm.hibernate5.SessionHolder) - Method in GrailsSessionContext
removeBackticks(java.lang.String) - Method in GrailsDomainBinder
removeNullNames(java.util.Map) - Method in AbstractHibernateGormStaticApi
render(org.hibernate.type.BasicType, List<String>, org.hibernate.SessionFactory, org.hibernate.dialect.function.SQLFunction) - Method in AbstractHibernateQuery
render(org.hibernate.type.BasicType, List<String>, org.hibernate.SessionFactory, org.hibernate.dialect.function.SQLFunction) - Method in HibernateQuery
replace(java.lang.Object, java.lang.Object, java.lang.Object) - Method in IdentityEnumType
requiresPostCommitHanding(org.hibernate.persister.entity.EntityPersister) - Method in ClosureEventListener
requiresPostCommitHanding(org.hibernate.persister.entity.EntityPersister) - Method in ClosureEventTriggeringInterceptor
requiresPostCommitHandling(org.hibernate.persister.entity.EntityPersister) - Method in ClosureEventListener
reset() - Method in HibernateMappingContextConfiguration
resetDirty(java.lang.Object, org.hibernate.persister.entity.EntityPersister, org.hibernate.Session) - Method in GrailsEntityDirtinessStrategy
resetInsertActive() - Method in AbstractHibernateGormInstanceApi
Clears the ThreadLocal variable set by markInsertActive().
resolveIdIfEntity(java.lang.Object) - Method in AbstractHibernateQuery
resolveTableName(org.grails.datastore.mapping.model.PersistentEntity) - Method in PersistentEntityNamingStrategy
resolveTenantIdentifier() - Method in AbstractHibernateDatastore
resolveTenantIds() - Method in AbstractHibernateDatastore
restoreFlushMode(org.hibernate.Session, java.lang.Object) - Method in AbstractHibernateGormValidationApi
restoreFlushMode(org.hibernate.Session, java.lang.Object) - Method in HibernateGormValidationApi
resultTransformer - Field in AbstractHibernateCriteriaBuilder
resume(org.grails.datastore.mapping.transactions.Transaction) - Method in HibernateJtaTransactionManagerAdapter
retrieve(Class<T>, java.io.Serializable) - Method in AbstractHibernateSession
retrieveAll(java.lang.Class, java.io.Serializable) - Method in AbstractHibernateSession
retrieveAll(java.lang.Class, java.lang.Iterable) - Method in HibernateSession
returnedClass() - Method in IdentityEnumType
RLIKE - Field in AbstractHibernateCriteriaBuilder
rlike(java.lang.String, java.lang.String) - Method in AbstractHibernateQuery
rlike(java.lang.String, java.lang.String) - Method in AbstractHibernateQuery.HibernateAssociationQuery
rlike(java.lang.String, java.lang.Object) - Method in HibernateCriteriaBuilder
Creates a Criterion with from the specified property name and "rlike" (a regular expression version of "like") expression
RlikeExpression - Class in grails.orm
Adds support for rlike to Hibernate in supported dialects.
RlikeExpression(java.lang.String, java.lang.String, org.hibernate.criterion.MatchMode) - Constructor in RlikeExpression
rollback() - Method in HibernateJtaTransactionManagerAdapter
rollback(org.springframework.transaction.TransactionStatus) - Method in PlatformTransactionManagerProxy
ROOT_CALL - Field in AbstractHibernateCriteriaBuilder
ROOT_DO_CALL - Field in AbstractHibernateCriteriaBuilder
rowCount(java.lang.String) - Method in AbstractHibernateCriteriaBuilder
Adds a projection that allows the criteria to return the row count
rowCount() - Method in AbstractHibernateQuery.HibernateProjectionList

S

save(D, java.util.Map) - Method in AbstractHibernateGormInstanceApi
save(java.lang.Object) - Method in GrailsHibernateTemplate
save(java.lang.Object) - Method in IHibernateTemplate
scale - Property in ColumnConfig
The scale of the column
scanPackages(java.lang.String) - Method in HibernateMappingContextConfiguration
Perform Spring-based scanning for entity classes, registering them as annotated classes with this Configuration.
schema - Property in Table
The table schema
SchemaExportCommand - Class in grails.plugin.hibernate.commands
Adds a schema-export command
SchemaExportCommand() - Constructor in SchemaExportCommand
schemaHandler - Field in AbstractHibernateDatastore
scm - Property in HibernateGrailsPlugin
scroll - Field in AbstractHibernateCriteriaBuilder
SCROLL_CALL - Field in AbstractHibernateCriteriaBuilder
select(java.lang.String) - Method in AbstractHibernateCriteriaBuilder
Use a select query
select(java.lang.String) - Method in AbstractHibernateQuery
SEQUENCE_KEY - Field in GrailsDomainBinder
SERIALIZABLE - Field in HibernateCriteriaBuilder
SESSION_FACTORY_BEAN_NAME - Field in HibernateDatastoreSpringInitializer
sessionFactory - Field in AbstractHibernateCriteriaBuilder
sessionFactory - Field in AbstractHibernateDatastore
sessionFactory - Field in AbstractHibernateGormInstanceApi
sessionFactory - Field in GrailsHibernateTemplate
sessionFactory - Field in GrailsSessionContext
sessionFactory(org.grails.orm.hibernate.HibernateDatastore) - Method in HibernateGormAutoConfiguration
sessionFactory - Field in HibernateGormStaticApi
SessionFactoryAwarePersistenceContextInterceptor - Interface in org.grails.plugin.hibernate.support
Interface for grails.persistence.support.PersistenceContextInterceptor instances that are aware of the org.hibernate.SessionFactory
sessionFactoryBeanName - Field in HibernateMappingContextConfiguration
sessionFactoryBeanName - Field in HibernateMappingContextSessionFactoryBean
sessionFactoryClosed(org.hibernate.SessionFactory) - Method in HibernateMappingContextConfiguration
sessionFactoryCreated(org.hibernate.SessionFactory) - Method in HibernateMappingContextConfiguration
SessionFactoryHolder - Class in org.grails.orm.hibernate
Holds a reference to the SessionFactory, used to allow proxying of the session factory in development mode.
sessionFactoryName - Field in GrailsDomainBinder
SET_RESULT_TRANSFORMER_CALL - Field in AbstractHibernateCriteriaBuilder
setAnnotatedClasses(Class<?>) - Method in HibernateMappingContextSessionFactoryBean
Specify annotated entity classes to register with this Hibernate SessionFactory.
setAnnotatedPackages(java.lang.String) - Method in HibernateMappingContextSessionFactoryBean
Specify the names of annotated packages, for which package-level annotation metadata will be read.
setApplicationContext(org.springframework.context.ApplicationContext) - Method in ClosureEventTriggeringInterceptor
setApplicationContext(org.springframework.context.ApplicationContext) - Method in HibernateConnectionSourceFactory
setApplicationContext(org.springframework.context.ApplicationContext) - Method in HibernateDatastore
setApplicationContext(org.springframework.context.ApplicationContext) - Method in HibernateDatastoreFactoryBean
setApplicationContext(org.springframework.context.ApplicationContext) - Method in HibernateMappingContextConfiguration
setApplicationContext(org.springframework.context.ApplicationContext) - Method in HibernateMappingContextSessionFactoryBean
setApplyFlushModeOnlyToNonExistingTransactions(boolean) - Method in GrailsHibernateTemplate
setBeanClassLoader(java.lang.ClassLoader) - Method in HibernateMappingContextSessionFactoryBean
setBinder(org.grails.orm.hibernate.cfg.GrailsDomainBinder) - Method in GrailsHibernateUtil
deprecated:
No replacement.
setCacheableMappingLocations(org.springframework.core.io.Resource) - Method in HibernateMappingContextSessionFactoryBean
Set locations of cacheable Hibernate mapping files, for example as web app resource "/WEB-INF/mapping/example.hbm.xml".
setCacheQueries(boolean) - Method in GrailsHibernateTemplate
setCascadeBehaviour(org.grails.datastore.mapping.model.PersistentProperty, org.grails.datastore.mapping.config.Property) - Method in GrailsDomainBinder
setConfigClass(Class<? extends HibernateMappingContextConfiguration>) - Method in HibernateMappingContextSessionFactoryBean
Sets the class to be used for Hibernate Configuration.
setConfigLocation(org.springframework.core.io.Resource) - Method in HibernateMappingContextSessionFactoryBean
Set the location of a single Hibernate XML config file, for example as classpath resource "classpath:hibernate.cfg.xml".
setConfigLocations(org.springframework.core.io.Resource) - Method in HibernateMappingContextSessionFactoryBean
Set the locations of multiple Hibernate XML config files, for example as classpath resources "classpath:hibernate.cfg.xml,classpath:extension.cfg.xml".
setConversionService(org.springframework.core.convert.ConversionService) - Method in AbstractHibernateCriteriaBuilder
setCurrentSessionContextClass(Class<?>) - Method in HibernateMappingContextSessionFactoryBean
Sets class to be used for the Hibernate CurrentSessionContext.
setDataSource(javax.sql.DataSource) - Method in HibernateDialectDetectorFactoryBean
setDataSource(javax.sql.DataSource) - Method in HibernateMappingContextSessionFactoryBean
Set the DataSource to be used by the SessionFactory.
setDataSourceConnectionSource(ConnectionSource<DataSource,DataSourceSettings>) - Method in HibernateMappingContextConfiguration
Set the target SQL javax.sql.DataSource
setDataSourceConnectionSourceFactory(org.grails.datastore.gorm.jdbc.connections.DataSourceConnectionSourceFactory) - Method in AbstractHibernateConnectionSourceFactory
Sets the factory for creating SQL javax.sql.DataSource connection sources
setDataSourceName(java.lang.String) - Method in HibernateMappingContextConfiguration
setDataSourceName(java.lang.String) - Method in HibernateMappingContextSessionFactoryBean
setDatastore(org.grails.orm.hibernate.AbstractHibernateDatastore) - Method in AbstractHibernateCriteriaBuilder
setDatastore(org.grails.orm.hibernate.AbstractHibernateDatastore) - Method in ClosureEventTriggeringInterceptor
setDefaultConstraints(groovy.lang.Closure) - Method in HibernateMappingContext
Sets the default constraints to be used
setDefaultFlushMode(int) - Method in AbstractHibernateCriteriaBuilder
setDefaultMapping(groovy.lang.Closure) - Method in GrailsDomainBinder
The default mapping defined by org.grails.datastore.mapping.config.Settings#SETTING_DEFAULT_MAPPING
setDetachedCriteriaValue(org.grails.datastore.mapping.query.api.QueryableCriteria, PropertyCriterion) - Method in AbstractHibernateQuery
setDetachedCriteriaValue(org.grails.datastore.mapping.query.api.QueryableCriteria, PropertyCriterion) - Method in HibernateQuery
setEntityInterceptor(groovy.lang.Interceptor) - Method in HibernateMappingContextSessionFactoryBean
Set a Hibernate entity interceptor that allows to inspect and change property values before writing to and reading from the database.
setErrorsOnInstance(java.lang.Object, org.springframework.validation.Errors) - Method in AbstractHibernateGormInstanceApi
Associates the Errors object on the instance
setEventListeners(Map<String,Object>) - Method in HibernateMappingContextConfiguration
Default listeners.
setEventListeners(Map<String,Object>) - Method in HibernateMappingContextSessionFactoryBean
Specify the Hibernate event listeners to register, with listener types as keys and listener objects as values.
setEventPublisher(org.grails.datastore.gorm.events.ConfigurableApplicationEventPublisher) - Method in ClosureEventTriggeringInterceptor
setExposeNativeSession(boolean) - Method in GrailsHibernateTemplate
setFetch(org.hibernate.FetchMode) - Method in PropertyConfig
Parameters:
fetch - The Hibernate FetchMode
setFlushMode(int) - Method in GrailsHibernateTemplate
Set the flush behavior to one of the constants in this class.
setFlushMode(jakarta.persistence.FlushModeType) - Method in HibernateSession
setFlushMode(org.hibernate.Session, org.grails.orm.hibernate.AbstractHibernateDatastore.FlushMode) - Method in HibernateVersionSupport
Set the native Hibernate FlushMode, adapting between Hibernate 5.0/5.1 and 5.2+.
setFlushMode(int) - Method in IHibernateTemplate
setFlushModeManual() - Method in InstanceApiHelper
setGeneratedUniqueName(org.hibernate.mapping.UniqueKey) - Method in GrailsDomainBinder
setHibernateDatastore(org.grails.orm.hibernate.AbstractHibernateDatastore) - Method in GrailsOpenSessionInViewInterceptor
setHibernateDatastore(org.grails.orm.hibernate.AbstractHibernateDatastore) - Method in HibernatePersistenceContextInterceptor
setHibernateEventListeners(org.grails.orm.hibernate.HibernateEventListeners) - Method in HibernateConnectionSourceFactory
setHibernateEventListeners(org.grails.orm.hibernate.HibernateEventListeners) - Method in HibernateMappingContextConfiguration
User-specifiable extra listeners.
setHibernateEventListeners(org.grails.orm.hibernate.HibernateEventListeners) - Method in HibernateMappingContextSessionFactoryBean
setHibernateMappingContext(org.grails.orm.hibernate.cfg.HibernateMappingContext) - Method in HibernateMappingContextConfiguration
setHibernateMappingContext(org.grails.orm.hibernate.cfg.HibernateMappingContext) - Method in HibernateMappingContextSessionFactoryBean
setHibernateProperties(java.util.Properties) - Method in HibernateDialectDetectorFactoryBean
setHibernateProperties(java.util.Properties) - Method in HibernateMappingContextSessionFactoryBean
Set Hibernate properties, such as "hibernate.dialect".
setInsert(boolean) - Method in DiscriminatorConfig
Whether it is insertable**
Parameters:
insertable - True if it is insertable
setInterceptor(groovy.lang.Interceptor) - Method in HibernateConnectionSourceFactory
setListenerMap(Map<String,Object>) - Method in HibernateEventListeners
setMappingDirectoryLocations(org.springframework.core.io.Resource) - Method in HibernateMappingContextSessionFactoryBean
Set locations of directories that contain Hibernate mapping resources, like "WEB-INF/mappings".
setMappingJarLocations(org.springframework.core.io.Resource) - Method in HibernateMappingContextSessionFactoryBean
Set locations of jar files that contain Hibernate mapping resources, like "WEB-INF/lib/example.hbm.jar".
setMappingLocations(org.springframework.core.io.Resource) - Method in HibernateMappingContextSessionFactoryBean
Set locations of Hibernate mapping files, for example as classpath resource "classpath:example.hbm.xml".
setMappingResources(java.lang.String) - Method in HibernateMappingContextSessionFactoryBean
Set Hibernate mapping resources to be found in the class path, like "example.hbm.xml" or "mypackage/example.hbm.xml".
setMessageSource(org.springframework.context.MessageSource) - Method in AbstractHibernateDatastore
setMessageSource(org.springframework.context.MessageSource) - Method in HibernateConnectionSourceFactory
setMessageSource(org.springframework.context.MessageSource) - Method in HibernateDatastore
setMetadataContributor(org.hibernate.boot.spi.MetadataContributor) - Method in HibernateConnectionSourceFactory
setMetadataContributor(org.hibernate.boot.spi.MetadataContributor) - Method in HibernateMappingContextConfiguration
setNamingStrategy(org.grails.orm.hibernate.cfg.PersistentEntityNamingStrategy) - Method in GrailsDomainBinder
Parameters:
namingStrategy - Custom naming strategy to plugin into table naming
setNamingStrategy(org.hibernate.cfg.NamingStrategy) - Method in HibernateMappingContextSessionFactoryBean
Set a Hibernate NamingStrategy for the SessionFactory, determining the physical column and table names given the info in the mapping document.
setObjectToReadOnly(java.lang.Object) - Method in AbstractHibernateGormInstanceApi
Sets the target object to read-only using the given SessionFactory instance.
setObjectToReadOnly(java.lang.Object) - Method in HibernateGormInstanceApi
setObjectToReadWrite(java.lang.Object) - Method in AbstractHibernateGormInstanceApi
Sets the target object to read-write, allowing Hibernate to dirty check it and auto-flush changes.
setObjectToReadWrite(java.lang.Object, org.hibernate.SessionFactory) - Method in GrailsHibernateUtil
Sets the target object to read-write, allowing Hibernate to dirty check it and auto-flush changes.
setObjectToReadWrite(java.lang.Object) - Method in HibernateGormInstanceApi
setObjectToReadyOnly(java.lang.Object, org.hibernate.SessionFactory) - Method in GrailsHibernateUtil
Sets the target object to read-only using the given SessionFactory instance.
setOsivReadOnly(boolean) - Method in GrailsHibernateTemplate
setPackagesToScan(java.lang.String) - Method in HibernateMappingContextSessionFactoryBean
Specify packages to search for autodetection of your entity classes in the classpath.
setParameterValues(java.util.Properties) - Method in IdentityEnumType
setProperty(java.lang.String, java.lang.Object) - Method in InstanceProxy
setProxyIfReloadEnabled(boolean) - Method in HibernateMappingContextSessionFactoryBean
Parameters:
proxyIfReloadEnabled - Sets whether a proxy should be created if reload is enabled
setReadOnly() - Method in AbstractMultipleDataSourceAggregatePersistenceContextInterceptor
setReadOnly() - Method in HibernatePersistenceContextInterceptor
setReadWrite() - Method in AbstractMultipleDataSourceAggregatePersistenceContextInterceptor
setReadWrite() - Method in HibernatePersistenceContextInterceptor
setResourceLoader(org.springframework.core.io.ResourceLoader) - Method in HibernateMappingContextSessionFactoryBean
setResultTransformer(org.hibernate.Criteria) - Method in HibernateGormStaticApi
setRollbackOnly() - Method in HibernateJtaTransactionManagerAdapter
setScale(int) - Method in PropertyConfig
setSessionFactory(org.hibernate.SessionFactory) - Method in GrailsHibernateTransactionManager
setSessionFactory(org.hibernate.SessionFactory) - Method in HibernatePersistenceContextInterceptor
setSessionFactory(org.hibernate.SessionFactory) - Method in SessionFactoryAwarePersistenceContextInterceptor
setSessionFactory(org.hibernate.SessionFactory) - Method in SessionFactoryHolder
setSessionFactoryBeanName(java.lang.String) - Method in HibernateMappingContextConfiguration
setSessionFactoryBeanName(java.lang.String) - Method in HibernateMappingContextSessionFactoryBean
setSynchronizedWithTransaction(boolean) - Method in AbstractHibernateSession
setTableName(java.lang.String) - Method in Mapping
Set the table name
setTablePerConcreteClass(boolean) - Method in Mapping
setTargetTransactionManager(org.springframework.transaction.PlatformTransactionManager) - Method in PlatformTransactionManagerProxy
setTimestampProvider(org.grails.datastore.gorm.timestamp.TimestampProvider) - Method in HibernateEventListener
deprecated:
Replaced by org.grails.datastore.gorm.events.AutoTimestampEventListener
Settings - Interface in org.grails.orm.hibernate.cfg
Settings for Hibernate
setTotalCount(int) - Method in PagedResultList
setTransactionManager(org.springframework.transaction.PlatformTransactionManager) - Method in HibernateMappingContextSessionFactoryBean
setTransactionTimeout(int) - Method in HibernateJtaTransactionManagerAdapter
setTypeForPropertyConfig(org.grails.datastore.mapping.model.PersistentProperty, org.hibernate.mapping.SimpleValue, org.grails.orm.hibernate.cfg.PropertyConfig) - Method in GrailsDomainBinder
setUnique(boolean) - Method in PropertyConfig
setUniqueResult(boolean) - Method in AbstractHibernateCriteriaBuilder
Set whether a unique result should be returned
setUpdateable(boolean) - Method in PropertyConfig
Whether or not this column is updatable by hibernate
setupErrorsProperty(java.lang.Object) - Method in AbstractHibernateGormValidationApi
Initializes the Errors property on target.
setupErrorsProperty(java.lang.Object) - Method in HibernateRuntimeUtils
Initializes the Errors property on target.
setVendorNameDialectMappings(java.util.Properties) - Method in HibernateDialectDetectorFactoryBean
SHORT - Field in HibernateCriteriaBuilder
shouldBindCollectionWithForeignKey(org.grails.datastore.mapping.model.types.ToMany) - Method in GrailsDomainBinder
shouldCollectionBindWithJoinColumn(org.grails.datastore.mapping.model.types.ToMany) - Method in GrailsDomainBinder
shouldFail(java.util.Map) - Method in AbstractHibernateGormInstanceApi
shouldFlush(java.util.Map) - Method in AbstractHibernateGormInstanceApi
shouldPassReadOnlyToHibernate() - Method in GrailsHibernateTemplate
SimpleHibernateProxyHandler - Class in org.grails.orm.hibernate.proxy
Implementation of the ProxyHandler interface for Hibernate.
singleResult() - Method in AbstractHibernateQuery
SIZE_CONSTRAINT_PREFIX - Field in AbstractHibernateQuery
SIZE_EQUALS - Field in AbstractHibernateCriteriaBuilder
sizeEq(java.lang.String, int) - Method in AbstractHibernateCriteriaBuilder
Creates a Criterion that contrains a collection property by size
sizeGe(java.lang.String, int) - Method in AbstractHibernateCriteriaBuilder
Creates a Criterion that contrains a collection property to be greater than or equal to the given size
sizeGt(java.lang.String, int) - Method in AbstractHibernateCriteriaBuilder
Creates a Criterion that contrains a collection property to be greater than the given size
sizeLe(java.lang.String, int) - Method in AbstractHibernateCriteriaBuilder
Creates a Criterion that contrains a collection property to be less than or equal to the given size
sizeLt(java.lang.String, int) - Method in AbstractHibernateCriteriaBuilder
Creates a Criterion that contrains a collection property to be less than to the given size
sizeNe(java.lang.String, int) - Method in AbstractHibernateCriteriaBuilder
Creates a Criterion that contrains a collection property to be not equal to the given size
skipBootstrap - Property in SchemaExportCommand
SoftKey - Class in org.grails.orm.hibernate.support
SoftReference key to be used with ConcurrentHashMap.
SoftKey(T) - Constructor in SoftKey
sort(java.util.Map) - Method in HibernateMappingBuilder
sort - Property in Mapping
Used to hold the names and directions of the default property to sort by
sort - Property in PropertyConfig
The default sort property name
SortConfig - Class in org.grails.orm.hibernate.cfg
Configures sorting
SortConfig() - Constructor in SortConfig
sqlGroupProjection(java.lang.String, java.lang.String, List<String>, List<Type>) - Method in AbstractHibernateCriteriaBuilder
Adds a sql projection to the criteria
sqlProjection(java.lang.String, List<String>, List<Type>) - Method in AbstractHibernateCriteriaBuilder
Adds a sql projection to the criteria
sqlRestriction(java.lang.String, List<?>) - Method in AbstractHibernateCriteriaBuilder
Applies a sql restriction to the results to allow something like:
sqlType - Property in ColumnConfig
The SQL type
sqlTypes - Field in IdentityEnumType
STRING - Field in HibernateCriteriaBuilder
STRING_TYPE - Field in GrailsDomainBinder
sum(java.lang.String, java.lang.String) - Method in AbstractHibernateCriteriaBuilder
Adds a projection that allows the criteria to retrieve the sum of the results of a property
sum(java.lang.String) - Method in AbstractHibernateQuery.HibernateProjectionList
supportsCustomType(Class<?>) - Method in HibernateMappingContext
supportsEventType(Class<? extends ApplicationEvent>) - Method in AbstractHibernateEventListener
{@inheritDoc}
supportsEventType(Class<? extends ApplicationEvent>) - Method in HibernateEventListener
{@inheritDoc}
supportsEventType(Class<? extends ApplicationEvent>) - Method in MultiTenantEventListener
supportsJoinColumnMapping(org.grails.datastore.mapping.model.PersistentProperty) - Method in GrailsDomainBinder
supportsSourceType(Class<?>) - Method in MultiTenantEventListener
suspend() - Method in HibernateJtaTransactionManagerAdapter

T

Table - Class in org.grails.orm.hibernate.cfg
Represents a table definition in GORM.
table(java.util.Map) - Method in HibernateMappingBuilder
table - Property in Mapping
The table
Table() - Constructor in Table
tablePerConcreteClass(boolean) - Method in HibernateMappingBuilder
If true the class and its subclasses will be mapped with table per subclass mapping
tablePerConcreteClass - Property in Mapping
Sets whether to use table-per-concrete-class or table-per-subclass mapping
tablePerHierarchy(boolean) - Method in HibernateMappingBuilder
If true the class and its sub classes will be mapped with table per hierarchy mapping
tablePerHierarchy - Property in Mapping
Sets whether to use table-per-hierarchy or table-per-subclass mapping
tablePerSubclass(boolean) - Method in HibernateMappingBuilder
If true the class and its subclasses will be mapped with table per subclass mapping
target - Field in GrailsHibernateTemplate.CloseSuppressingInvocationHandler
targetClass - Field in AbstractHibernateCriteriaBuilder
tenantId(java.lang.String) - Method in HibernateMappingBuilder
Sets the tenant id
tenantResolver - Field in AbstractHibernateDatastore
TEST_DB_URL - Field in HibernateDatastoreSpringInitializer
TEXT - Field in HibernateCriteriaBuilder
throwRuntimeException(java.lang.RuntimeException) - Method in AbstractHibernateCriteriaBuilder
Throws a runtime exception where necessary to ensure the session gets closed
TIME - Field in HibernateCriteriaBuilder
TIMESTAMP - Field in HibernateCriteriaBuilder
TIMEZONE - Field in HibernateCriteriaBuilder
title - Property in HibernateGrailsPlugin
toConfiguration(org.grails.orm.hibernate.connections.HibernateConnectionSourceSettings) - Method in HibernateConnectionSourceSettingsBuilder
toCriterion() - Method in AbstractHibernateCriteriaBuilder.LogicalExpression
toHibernateCriterion(org.grails.orm.hibernate.query.AbstractHibernateQuery, org.grails.datastore.mapping.query.Query.Criterion, java.lang.String) - Method in AbstractHibernateCriterionAdapter
toHibernateCriterion(org.grails.orm.hibernate.query.AbstractHibernateQuery, T, java.lang.String) - Method in AbstractHibernateCriterionAdapter.CriterionAdaptor
toHibernateDetachedCriteria(org.grails.orm.hibernate.query.AbstractHibernateQuery, QueryableCriteria<?>, java.lang.String) - Method in AbstractHibernateCriterionAdapter
toHibernateDetachedCriteria(org.grails.orm.hibernate.query.AbstractHibernateQuery, QueryableCriteria<?>, java.lang.String) - Method in HibernateCriterionAdapter
toHibernateEventListeners(org.grails.orm.hibernate.support.AbstractClosureEventTriggeringInterceptor) - Method in HibernateConnectionSourceSettings.HibernateSettings
toHibernateProjection() - Method in HibernateProjectionAdapter
toProperties() - Method in HibernateConnectionSourceSettings
Convert to hibernate properties
toProperties() - Method in HibernateConnectionSourceSettings.HibernateSettings
Convert to Hibernate properties
toSqlString(org.hibernate.Criteria, org.hibernate.criterion.CriteriaQuery) - Method in RlikeExpression
toString() - Method in ColumnConfig
toString() - Method in HibernateDatastore
toString() - Method in Identity
toString() - Method in PropertyConfig
toString() - Method in RlikeExpression
trackCustomCascadingSaves(org.grails.orm.hibernate.cfg.Mapping, Iterable<PersistentProperty>) - Method in GrailsDomainBinder
Checks for any custom cascading saves set up via the mapping DSL and records them within the persistent property.
TraitPropertyAccessStrategy - Class in org.grails.orm.hibernate.access
Support reading and writing trait fields with Hibernate 5+
transactionManager - Field in HibernateDatastore
transactionManager(org.grails.orm.hibernate.HibernateDatastore) - Method in HibernateGormAutoConfiguration
transactionManager - Field in HibernateMappingContextSessionFactoryBean
trimBackTigs(java.lang.String) - Method in GrailsDomainBinder
TRUE_FALSE - Field in HibernateCriteriaBuilder
type - Property in DiscriminatorConfig
The type
type - Property in Identity
The type
type - Field in IdentityEnumType
type - Property in PropertyConfig
The Hibernate type or user type of the property.
typeParams - Property in PropertyConfig
The parameters for the property that can be used to configure a Hibernate ParameterizedType implementation.
TYPES - Field in EventListenerIntegrator

U

UNDERSCORE - Field in GrailsDomainBinder
unique - Property in ColumnConfig
Whether the column is unique
uniqueResult - Field in AbstractHibernateCriteriaBuilder
unlock(java.lang.Object) - Method in AbstractHibernateSession
unqualify(java.lang.String) - Method in GrailsDomainBinder
unqualify(java.lang.String) - Method in GrailsHibernateUtil
unwrap(java.lang.Object) - Method in SimpleHibernateProxyHandler
unwrapIfProxy(java.lang.Object) - Method in GrailsHibernateUtil
unwrapIfProxy(java.lang.Object) - Method in HibernateProxyHandler
unwrapIfProxy(java.lang.Object) - Method in SimpleHibernateProxyHandler
unwrapProxy(org.hibernate.proxy.HibernateProxy) - Method in GrailsHibernateUtil
Unwraps and initializes a HibernateProxy.
unwrapProxy(org.hibernate.proxy.HibernateProxy) - Method in SimpleHibernateProxyHandler
updatable - Property in PropertyConfig
Whether or not this column is updatable by hibernate
updateAll(org.grails.datastore.mapping.query.api.QueryableCriteria, Map<String,Object>) - Method in HibernateSession
Updates all objects matching the given criteria and property values.
URL - Field in HibernateCriteriaBuilder
usage - Property in CacheConfig
The cache usage
USAGE_OPTIONS - Property in CacheConfig
userTypes - Property in Mapping
Custom hibernate user types
usesDatasource(org.grails.datastore.mapping.model.PersistentEntity, java.lang.String) - Method in GrailsHibernateUtil
deprecated:
Use MultipleDataSourceSupport#getDefaultDataSource(PersistentEntity)#getDefaultDataSource(PersistentEntity) instead
usesDatasource(org.grails.datastore.mapping.model.PersistentEntity, java.lang.String) - Method in MultipleDataSourceSupport
UUID_BINARY - Field in HibernateCriteriaBuilder
UUID_CHAR - Field in HibernateCriteriaBuilder

V

validate(D, java.util.List, java.util.Map) - Method in AbstractHibernateGormValidationApi
validateApi - Field in InstanceProxy
validateMethods - Field in InstanceProxy
validateSimpleExpression() - Method in AbstractHibernateCriteriaBuilder
value - Property in DiscriminatorConfig
The discriminator value
version(java.lang.String) - Method in HibernateMappingBuilder
version(groovy.lang.Closure) - Method in Mapping
Configure the version
versioned - Property in Mapping
Whether the class is versioned for optimistic locking
visit(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.control.SourceUnit) - Method in HibernateEntityTransformation
visitReturnStatement(org.codehaus.groovy.ast.stmt.ReturnStatement) - Method in HibernateEntityTransformation.1

W

watchedResources - Property in HibernateGrailsPlugin
withFlushMode(org.grails.orm.hibernate.AbstractHibernateDatastore.FlushMode, Callable<Boolean>) - Method in AbstractHibernateDatastore
Execute the given operation with the given flush mode
withFlushMode(org.grails.orm.hibernate.AbstractHibernateDatastore.FlushMode, Callable<Boolean>) - Method in HibernateDatastore
withNewSession(java.io.Serializable, Closure<T1>) - Method in AbstractHibernateDatastore
withNewSession(Closure<T>) - Method in AbstractHibernateGormStaticApi
withQueryEvents(org.grails.datastore.mapping.query.Query, Closure<T>) - Method in HibernateGormStaticApi
withSession(Closure<T>) - Method in AbstractHibernateDatastore
withSession(Closure<T>) - Method in AbstractHibernateGormStaticApi
WRAPPER_BINARY - Field in HibernateCriteriaBuilder
write - Property in ColumnConfig
A custom write sstring

X

Y

YES_NO - Field in HibernateCriteriaBuilder

Z

_

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _