diff options
author | Vitaly Takmazov | 2023-01-27 19:43:42 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-27 20:33:17 +0300 |
commit | c2fe259c1dc558945ea8beb82cdfe5891791564c (patch) | |
tree | 148273d483428d0d9caf03e83267cbcc7cbd653d /src/main/java/com/juick/service | |
parent | 2db415ce42fb96059b6d7fce4cf4ce078a62680e (diff) |
db: initial SQL Server schema
* only schema is worked
Diffstat (limited to 'src/main/java/com/juick/service')
-rw-r--r-- | src/main/java/com/juick/service/NullSearchService.java | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |