Class TestSqlAnnotationHandler
java.lang.Object
io.micronaut.test.support.sql.TestSqlAnnotationHandler
-
Method Summary
-
Method Details
-
handle
public 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 classapplicationContext- The application contextphase- TheSql.Phaseto run the scripts in- Throws:
IOException- If an error occurs reading the SQL
-