Skip to content

Commit

Permalink
fixed wiring
Browse files Browse the repository at this point in the history
  • Loading branch information
lpandzic committed Mar 12, 2024
1 parent ad55856 commit 58a5a1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
@@ -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<Person, Long> {
}

0 comments on commit 58a5a1c

Please sign in to comment.