diff --git a/infobip-spring-data-r2dbc-querydsl/src/test/java/com/infobip/spring/data/r2dbc/mysql/Main.java b/infobip-spring-data-r2dbc-querydsl/src/test/java/com/infobip/spring/data/r2dbc/mysql/Main.java index e8b54c0..e04edd1 100644 --- a/infobip-spring-data-r2dbc-querydsl/src/test/java/com/infobip/spring/data/r2dbc/mysql/Main.java +++ b/infobip-spring-data-r2dbc-querydsl/src/test/java/com/infobip/spring/data/r2dbc/mysql/Main.java @@ -3,7 +3,9 @@ import com.infobip.spring.data.r2dbc.EnableQuerydslR2dbcRepositories; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; +import org.springframework.context.annotation.Profile; +@Profile("mysql") @EnableQuerydslR2dbcRepositories @SpringBootApplication public class Main { diff --git a/infobip-spring-data-r2dbc-querydsl/src/test/java/com/infobip/spring/data/r2dbc/mysql/PersonRepository.java b/infobip-spring-data-r2dbc-querydsl/src/test/java/com/infobip/spring/data/r2dbc/mysql/PersonRepository.java index 3129415..f895094 100644 --- a/infobip-spring-data-r2dbc-querydsl/src/test/java/com/infobip/spring/data/r2dbc/mysql/PersonRepository.java +++ b/infobip-spring-data-r2dbc-querydsl/src/test/java/com/infobip/spring/data/r2dbc/mysql/PersonRepository.java @@ -1,6 +1,8 @@ package com.infobip.spring.data.r2dbc.mysql; import com.infobip.spring.data.r2dbc.QuerydslR2dbcRepository; +import org.springframework.context.annotation.Profile; +@Profile("mysql") public interface PersonRepository extends QuerydslR2dbcRepository { }