Class SimpleDataSource<CommonReadResultException extends Exception>

java.lang.Object
com.saperion.common.sql.DataSource<IllegalStateException,CommonReadResultException>
com.saperion.common.sql.SimpleDataSource<CommonReadResultException>
Type Parameters:
CommonReadResultException - common type of all used ResultReaders during DataSource.executeQuery(String, ResultReader) -operations to signal business-exceptions during ResultReader.readResult(ResultSet)

public class SimpleDataSource<CommonReadResultException extends Exception> extends DataSource<IllegalStateException,CommonReadResultException>

SimpleDataSource is a simple implementation of an DataSource that can be used directly and that has no logging, no runtime-information and treats all errors as IllegalStateExceptions. While this class is easy to use, it is still strongly recommended to write your own subclass of DataSource in any real project to provide improved treatment.

Author:
agz