spring @sqlgroup with multiple datasource

From the Transaction management for @Sql section of the Spring Reference Manual: If the algorithms used by SqlScriptsTestExecutionListener to detect a DataSource and PlatformTransactionManager and infer the transaction semantics do not suit your needs, you may specify explicit names via the dataSource and transactionManager attributes of @SqlConfig. For example: Regards, Sam (author of the Spring TestContext Framework)