public interface GrailsDataSource extends InjectableGrailsClass
Represents a data source in Grails.
Type Params | Return Type | Name and description |
---|---|---|
|
public Class<?> |
getConfigurationClass()
|
|
public String |
getDbCreate() Whether to generate the database with HBM 2 DDL, values can be "create", "create-drop" or "update". |
|
public Class<?> |
getDialect() The dialect implementation to use. |
|
public String |
getDriverClassName() The driver class name for the data source. |
|
public Properties |
getOtherProperties() Other properties for this data source. |
|
public String |
getPassword() The password for the data source. |
|
public String |
getUrl() The URL for the data source. |
|
public String |
getUsername() The username for the data source. |
|
public boolean |
isLoggingSql() Whether SQL logging is enabled |
|
public boolean |
isPooled() True is connection pooling is enabled. |
Methods inherited from class | Name |
---|---|
interface InjectableGrailsClass |
byName, byType, getAvailable |
interface GrailsClass |
getApplication, getClazz, getFullName, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPluginName, getPropertyName, getPropertyValue, getPropertyValue, getReferenceInstance, getShortName, hasProperty, isAbstract, newInstance |
interface GrailsApplicationAware |
setGrailsApplication |
Whether to generate the database with HBM 2 DDL, values can be "create", "create-drop" or "update".
The dialect implementation to use.
The driver class name for the data source.
Other properties for this data source.
The password for the data source.
The URL for the data source.
The username for the data source.
Whether SQL logging is enabled
True is connection pooling is enabled.