This is the central class in the CCI core package.
It simplifies the use of CCI and helps to avoid common errors.
It executes core CCI workflow, leaving application code to provide parameters
to CCI and extract results. This class executes EIS queries or updates,
catching ResourceExceptions and translating them to the generic exception
hierarchy defined in the org.springframework.dao package.
Code using this class can pass in and receive CCI Record instances,
or alternatively implement callback interfaces for creating input Records
and extracting result objects from output Records (or CCI ResultSets).
Can be used within a service implementation via direct instantiation
with a ConnectionFactory reference, or get prepared in an application context
and given to services as bean reference. Note: The ConnectionFactory should
always be configured as a bean in the application context, in the first case
given to the service directly, in the second case to the prepared template.
org.springframework.daopackage.Code using this class can pass in and receive CCI Record instances, or alternatively implement callback interfaces for creating input Records and extracting result objects from output Records (or CCI ResultSets).
Can be used within a service implementation via direct instantiation with a ConnectionFactory reference, or get prepared in an application context and given to services as bean reference. Note: The ConnectionFactory should always be configured as a bean in the application context, in the first case given to the service directly, in the second case to the prepared template.