Tip: | In most cases, you do not need to declare datasources for SQL Statements in mashups. Instead, identify the datasource using the names assigned to datasources that have already been configured in the Business Analytics Server. See Declaring Data Sources for more information. |
Can Contain | Empty |
Allowed In | mashup | catch | else | elseif | for | foreach | if | macro | operation | sequence | try | while |
Name | Required | Description | ||
name | Optional name for this datasource. If omitted, this becomes the default datasource for EMML SQL statements that do not define a datasource. | |||
url | The URL for a JDBC connection to this datasource in the form jdbc:name:protocol://host:port. If omitted, you must specify connection information for this datasource in the jndiname attribute. | |||
driverClassName | The class name of the driver for a JDBC connection to this datasource. This is only relevant if url is specified. If omitted, this defaults to the HSQLDB JDBC driver class. | |||
username | The user name for the JDBC connection to this datasource. This is required for JDBC connections (in url), but is not relevant for JNDI connections.
| |||
password | The password to log into this datasource with. This is required, but can be empty, for JDBC connections (in url). It is not relevant for JNDI connections.
| |||
jndiname | The JDNI name for this datasource, in the form java:/comp/env/jdbc/jndi-name. If omitted, you must specify JDBC connection information in the url and related attributes. |