Class JdbcBulkLoadingContextSupport<T>

java.lang.Object
net.solarnetwork.dao.jdbc.JdbcBulkLoadingContextSupport<T>
Type Parameters:
T - the entity type
All Implemented Interfaces:
AutoCloseable, BulkLoadingDao.LoadingContext<T>, org.springframework.jdbc.core.SqlProvider

public abstract class JdbcBulkLoadingContextSupport<T> extends Object implements BulkLoadingDao.LoadingContext<T>, org.springframework.jdbc.core.SqlProvider
Base implementation of BulkLoadingDao.LoadingContext for JDBC stored procedure based implementations.

This class handles the low-level transaction semantics for the load operation, and relies on extending classes to implement the doLoad(Object, PreparedStatement, long) method to save each entity into the backend database.

Version:
1.0
Author:
matt