The ModJdbcDS kmodule deploys a [minerva]-wrapped JDBC datasource for use by other kmodules. The ModJdbcDS kmodule is implemented by com.fs.pxe.kernel.modjdbc.ModJdbcDS.
| Name |
Type |
Required |
Description |
| DataSourceName |
String |
Yes. |
the JNDI location at which to bind the datasource. |
| Driver |
String |
Yes. |
the fully-qualified classname of the JDBC driver to use. The driver is looked-up using the same classloader that loaded the kmodule. |
| Password |
String |
No. |
the password for the JDBC connection. |
| PoolMax |
int |
No. |
the maximum number of connections to hold in the pool. The default value is 5. |
| PoolMin |
int |
No. |
the minimum number of connections to hold in the pool. The default value is 5. |
| TransactionManagerName |
String |
No. |
the JNDI name of the JTA transaction manager to use. The default value is "TransactionManager". |
| Url |
String |
Yes. |
the JDBC URL for the driver. |
| Username |
String |
No. |
the username for the JDBC connection. |
The ModJdbcDS kmodule requires a JNDI naming service and a JTA transaction manager, so ModFsNaming and ModJOTM should be deployed beforehand unless those services are available from other sources.