public class DataSourceDescriptor extends Object
The attributes of a <datasource>
element are:
jdbc/foo
)To configure the characteristics of the pool:
BasicDataSource
setters for more
To configure the datasource connections, individual <property>
sub-elements are used.
For a non-XA datasource, you must specify at least a url:
<property name="url">jdbc:derby:foo/bar</property> <property name="username">nuxeo</property> <property name="password">nuxeo</property>For a XA datasource, see the documentation for your JDBC driver.
Modifier and Type | Field and Description |
---|---|
Element |
element |
String |
name |
Map<String,String> |
properties |
Constructor and Description |
---|
DataSourceDescriptor() |
Copyright © 2011 Nuxeo SA. All Rights Reserved.