From c2fe259c1dc558945ea8beb82cdfe5891791564c Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 27 Jan 2023 19:43:42 +0300 Subject: db: initial SQL Server schema * only schema is worked --- src/main/java/com/juick/service/NullSearchService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com') diff --git a/src/main/java/com/juick/service/NullSearchService.java b/src/main/java/com/juick/service/NullSearchService.java index 2fb51b07..d12beb96 100644 --- a/src/main/java/com/juick/service/NullSearchService.java +++ b/src/main/java/com/juick/service/NullSearchService.java @@ -26,7 +26,7 @@ import java.util.Collections; import java.util.List; @Repository -@ConditionalOnExpression("('${spring.sql.init.platform}' == 'h2') or ('${spring.sql.init.platform}' == 'sqlite')") +@ConditionalOnExpression("('${spring.sql.init.platform}' == 'h2') or ('${spring.sql.init.platform}' == 'sqlite') or ('${spring.sql.init.platform}' == 'sqlserver')") public class NullSearchService implements SearchService { @Override public void setMaxResult(int maxResult) { -- cgit v1.2.3