Package io.micronaut.test.support.sql
Interface SqlHandler<T>
- Type Parameters:
T
- The type of the data source
- All Known Implementing Classes:
ConnectionFactoryHandler
,DataSourceSqlHandler
,DelegatingDataSourceSqlHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface for handling Sql annotation for different data sources.
- Since:
- 4.1.0
- Author:
- Tim Yates
-
Method Summary
-
Method Details
-
handle
Given a data source and SQL, execute the SQL.- Parameters:
source
- The data sourcesql
- The SQL to execute
-