FIX: @Formula / @Where Annotations should also match on base platform

A property annotated with
```java
@Formula(select = "...", platforms = SQLSERVER)
```
should match for SQLSERVER17 and SQLSERVER19
This commit is contained in:
Roland Praml committed 2022-10-25 10:55:23 +02:00
1 parent 7152cf656b
commit 359f8b41fe
1 file changed
+1 -1
@@ -1123,7 +1123,7 @@ public class DeployBeanProperty {
private boolean matchPlatform(Platform[] platforms, Platform match) { private boolean matchPlatform(Platform[] platforms, Platform match) {
for (Platform platform : platforms) { for (Platform platform : platforms) {
if (platform == match) { if (platform == match || platform == match.base()) {
return true; return true;
} }
} }