Package io.micronaut.test.support.sql
Class TestSqlAnnotationHandler
java.lang.Object
io.micronaut.test.support.sql.TestSqlAnnotationHandler
Static helper class to handle 
Sql annotations.- Since:
- 4.1.0
- Author:
- Tim Yates
- 
Method Summary
- 
Method Details- 
handlepublic static void handle(io.micronaut.inject.BeanDefinition<?> specDefinition, io.micronaut.context.ApplicationContext applicationContext, Sql.Phase phase) throws IOException Given a spec definition and application context, find and process allSqlannotations.- Parameters:
- specDefinition- The test class
- applicationContext- The application context
- phase- The- Sql.Phaseto run the scripts in
- Throws:
- IOException- If an error occurs reading the SQL
 
 
-