@groovy.transform.builder.Builder(builderStrategy: SimpleStrategy, prefix: ) @groovy.transform.AutoClone @groovy.transform.CompileStatic class ConnectionSourceSettings extends java.lang.Object implements Settings
Default settings shared across all implementations
Modifiers | Name | Description |
---|---|---|
static class |
ConnectionSourceSettings.CustomSettings |
Any custom settings |
static class |
ConnectionSourceSettings.DefaultSettings |
Represents the default settings |
Type | Name and description |
---|---|
boolean |
autoFlush Whether to auto flush |
boolean |
autowire Whether to autowire entities via Spring if used |
java.lang.Class<ConnectionSources> |
connectionSourcesClass The class used to create |
ConnectionSourceSettings.CustomSettings |
custom Custom settings |
ConnectionSourceSettings.DefaultSettings |
default |
ConnectionSourceSettings.DefaultSettings |
defaults
|
boolean |
failOnError Whether to fail on a validation error |
java.util.List<java.lang.String> |
failOnErrorPackages Package names that should fail on error |
javax.persistence.FlushModeType |
flushMode The flush mode type, if any |
java.lang.Boolean |
markDirty Whether to mark instances dirty on explicit save() |
MultiTenancySettings |
multiTenancy The settings for Multi Tenancy |
Constructor and description |
---|
ConnectionSourceSettings
() |
Type Params | Return Type | Name and description |
---|---|---|
|
ConnectionSourceSettings.DefaultSettings |
getDefault()
|
|
void |
setDefault(ConnectionSourceSettings.DefaultSettings defaults) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Whether to auto flush
Whether to autowire entities via Spring if used
The class used to create
Custom settings
Whether to fail on a validation error
Package names that should fail on error
The flush mode type, if any
Whether to mark instances dirty on explicit save()
The settings for Multi Tenancy
Groovy Documentation