Modifiers | Name | Description |
---|---|---|
java.lang.String |
DEFAULT_MAPPING |
The name of the configuration setting that holds the default mapping |
Type Params | Return Type | Name and description |
---|---|---|
|
GrailsDomainConfiguration |
addDomainClass(grails.core.GrailsDomainClass domainClass) Adds a domain class to the configuration. |
|
void |
setDataSourceName(java.lang.String name) The Spring bean name of the DataSource. |
|
void |
setGrailsApplication(grails.core.GrailsApplication application) Sets the grails application instance. |
|
void |
setSessionFactoryBeanName(java.lang.String name) The Spring bean name of the SessionFactory. |
The name of the configuration setting that holds the default mapping
Adds a domain class to the configuration.
The Spring bean name of the DataSource.
name
- the nameSets the grails application instance.
application
- The grails application to use or null if none.The Spring bean name of the SessionFactory.
name
- the name