org.komamitsu.spring.data.sqlite.SqliteJdbcAggregateTemplate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spring-data-sqlite Show documentation
Show all versions of spring-data-sqlite Show documentation
Spring Data integration with SQLite
The newest version!
package org.komamitsu.spring.data.sqlite;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationEventPublisher;
import org.springframework.data.jdbc.core.JdbcAggregateTemplate;
import org.springframework.data.jdbc.core.convert.DataAccessStrategy;
import org.springframework.data.jdbc.core.convert.JdbcConverter;
import org.springframework.data.relational.core.mapping.RelationalMappingContext;
/**
* An extended ${@link JdbcAggregateTemplate} customized for SQLite. This prevents users from using
* some APIs that are not supported in SQLite by throwing ${@link UnsupportedOperationException}.
*/
public class SqliteJdbcAggregateTemplate extends JdbcAggregateTemplate {
public SqliteJdbcAggregateTemplate(
ApplicationContext publisher,
RelationalMappingContext context,
JdbcConverter converter,
DataAccessStrategy dataAccessStrategy) {
super(publisher, context, converter, dataAccessStrategy);
}
public SqliteJdbcAggregateTemplate(
ApplicationEventPublisher publisher,
RelationalMappingContext context,
JdbcConverter converter,
DataAccessStrategy dataAccessStrategy) {
super(publisher, context, converter, dataAccessStrategy);
}
}