mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-22 15:10:02 +00:00
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:
1 parent
7152cf656b
commit
359f8b41fe
1 file changed
+1
-1
+1
-1
@@ -1123,7 +1123,7 @@ public class DeployBeanProperty {
|
||||
|
||||
private boolean matchPlatform(Platform[] platforms, Platform match) {
|
||||
for (Platform platform : platforms) {
|
||||
if (platform == match) {
|
||||
if (platform == match || platform == match.base()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user