|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.cfg.Configuration org.codehaus.groovy.grails.orm.hibernate.cfg.DefaultGrailsDomainConfiguration
public class DefaultGrailsDomainConfiguration
Creates runtime configuration mapping for the Grails domain classes based on the work done in the Hibernate Annotations project
Field Summary |
---|
Fields inherited from class org.hibernate.cfg.Configuration |
---|
auxiliaryDatabaseObjects, classes, collections, columnNameBindingPerTable, extendsQueue, filterDefinitions, imports, namedQueries, namedSqlQueries, namingStrategy, propertyReferences, secondPasses, settingsFactory, sqlFunctions, sqlResultSetMappings, tableNameBinding, tables, typeDefs, xmlHelper |
Constructor Summary | |
---|---|
DefaultGrailsDomainConfiguration()
|
Method Summary | |
---|---|
GrailsDomainConfiguration |
addDomainClass(GrailsDomainClass domainClass)
Adds a domain class to the configuration |
protected void |
secondPassCompile()
Overrides the default behaviour to including binding of Grails domain classes |
void |
setGrailsApplication(GrailsApplication application)
Sets the grails application instance |
Methods inherited from class org.hibernate.cfg.Configuration |
---|
add, addAuxiliaryDatabaseObject, addCacheableFile, addCacheableFile, addClass, addDirectory, addDocument, addFile, addFile, addFilterDefinition, addInputStream, addJar, addProperties, addResource, addResource, addSqlFunction, addURL, addXML, buildMapping, buildMappings, buildSessionFactory, buildSettings, buildSettings, configure, configure, configure, configure, configure, createMappings, doConfigure, doConfigure, findPossibleExtends, generateDropSchemaScript, generateSchemaCreationScript, generateSchemaUpdateScript, getClassMapping, getClassMappings, getCollectionMapping, getCollectionMappings, getConfigurationInputStream, getEntityNotFoundDelegate, getEntityResolver, getEventListeners, getFilterDefinitions, getImports, getInterceptor, getNamedQueries, getNamedSQLQueries, getNamingStrategy, getProperties, getProperty, getSqlFunctions, getSqlResultSetMappings, getTableMappings, mergeProperties, parseMappingElement, reset, secondPassCompileForeignKeys, setCacheConcurrencyStrategy, setCacheConcurrencyStrategy, setCollectionCacheConcurrencyStrategy, setCollectionCacheConcurrencyStrategy, setEntityNotFoundDelegate, setEntityResolver, setInterceptor, setListener, setListeners, setListeners, setNamingStrategy, setProperties, setProperty, validateSchema |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultGrailsDomainConfiguration()
Method Detail |
---|
public GrailsDomainConfiguration addDomainClass(GrailsDomainClass domainClass)
GrailsDomainConfiguration
addDomainClass
in interface GrailsDomainConfiguration
public void setGrailsApplication(GrailsApplication application)
GrailsDomainConfiguration
setGrailsApplication
in interface GrailsDomainConfiguration
application
- The grails application to use or null if none.protected void secondPassCompile() throws org.hibernate.MappingException
secondPassCompile
in class org.hibernate.cfg.Configuration
org.hibernate.MappingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |