Class JPPFDataSource

java.lang.Object
org.jppf.persistence.JPPFDataSource
All Implemented Interfaces:
Wrapper, CommonDataSource, DataSource

public class JPPFDataSource extends Object implements DataSource
A non-pooled, non-XA datasource that provides connections using the DriverManager API. The JDBC driver and connection information are retrieved from the JPPF configuration, for example:
 # Datasource name
 jppf.datasource.<configId>.name = myDS
 # JDBC driver class name
 jppf.datasource.<configId>.driver.class = com.mysql.jdbc.Driver
 # Database connection user
 jppf.datasource.<configId>.user = testjppf
 # Database connection password
 jppf.datasource.<configId>.password = testjppf
 # Database connection url
 jppf.datasource.<configId>.url = jdbc:mysql://localhost:3306/testjppf
Author:
Laurent Cohen