A Rhino management sub task for creating a persistence instance that can be used by a database resource.
Attribute | Description | Required |
---|---|---|
name |
Name of the persistence instance to create. This name must be unique. |
Yes. |
datasourceclass |
Fully-qualified class name the the datasource class to be used by the persistence instance. |
Yes. |
failonerror |
Flag to control failure behaviour.
If 'true', the sub task will throw a |
No. default value is taken from the Rhino management parent task. |
Element | Description | Required |
---|---|---|
configproperty |
Identifies a configuration property of the datasource class.
See |
One {@code ConfigPropertyElement} must be specified per config property. |
-
This task will throw a
NonFatalBuildException
if a persistence instance with the same name already exists.