Package com.saperion.common.sql
package com.saperion.common.sql
-
ClassDescription
DataSource
encapsulates aDataSource
and provides simple SQL-execution-methods (DataSource.executeUpdate(String)
,DataSource.executeQuery(String, ResultReader)
) with all the necessary error treatment.ResultReader<E extends Exception>AResultReader
reads the results of aResultSet
during anDataSource.executeQuery(String, ResultReader)
-operation.SimpleDataSource<CommonReadResultException extends Exception>SimpleDataSource
is a simple implementation of anDataSource
that can be used directly and that has no logging, no runtime-information and treats all errors asIllegalStateException
s.SqlDialect
enumerates known SQL dialects ofDataSource
s.