At least one (transactional) data source must be specified and potentially a non-transactional if such a data source is appropriate (e.g. for non-transactional operations).
| Modifier and Type | Field and Description |
|---|---|
| public String | driver
Driver class name string |
| public String | dsName
Identifier to name this data source (must be Container-unique) |
| public String | jndiName
JNDI name that data source should be bound to |
| public String | password
Password to use when connecting to the db |
| public String | url
URL that is passed to the driver to determine db |
| public String | user
User name to use when connecting to the db |
| Access | Constructor and Description |
|---|---|
| public | DataSourceConfig(String
Data source identifier dsName, String Name that the data source should be bound to in JNDI jndiName, String Passed to the driver to determine db url, String The class name for the db driver driver, String User name to use when connecting to the db user, String Password to use when connecting to the db password)Constructor used to create a DataSourceConfig |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| driver | back to summary |
|---|---|
| public String driver Driver class name string | |
| dsName | back to summary |
|---|---|
| public String dsName Identifier to name this data source (must be Container-unique) | |
| jndiName | back to summary |
|---|---|
| public String jndiName JNDI name that data source should be bound to | |
| password | back to summary |
|---|---|
| public String password Password to use when connecting to the db | |
| url | back to summary |
|---|---|
| public String url URL that is passed to the driver to determine db | |
| user | back to summary |
|---|---|
| public String user User name to use when connecting to the db | |
| DataSourceConfig | back to summary |
|---|---|
| public DataSourceConfig(String dsName, String jndiName, String url, String driver, String user, String password) Constructor used to create a DataSourceConfig
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. INTERNAL:
| |