devloop icon
Metastores

Standalone Connection Setup

For standalone applications, you can supply your own DataSource instance:

By passing it directly to the mapper:

	DataSource	myDataSource = someExistingDataSourceInstance;
	DBDataMapper mapper = new DBDataMapper(myDataSource);
	

This lacks the flexibility of JNDI lookups but may be useful for testing purposes.

Quick Links