mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Make Query.Property parameterised with <BT> "Base Type" as Number, String, Temporal, Boolean or Object
These types then determine which functions are valid for the types. So: - Number functions - String/varchar functions - Temporal Date, DateTime, Time functions - Boolean functions - Object being everything else
This commit is contained in:
+1
-1
@@ -275,7 +275,7 @@ class SimpleQueryBeanWriter {
|
||||
writer.append(" * ").append(comment).eol();
|
||||
writer.append(" */").eol();
|
||||
writer.append(" @SafeVarargs @SuppressWarnings(\"varargs\")").eol();
|
||||
writer.append(" public final R fetch%s(TQProperty<Q%s>... properties) {", fetchType, origShortName).eol();
|
||||
writer.append(" public final R fetch%s(TQProperty<Q%s,?>... properties) {", fetchType, origShortName).eol();
|
||||
writer.append(" return fetch%sProperties(properties);", fetchType).eol();
|
||||
writer.append(" }").eol();
|
||||
writer.eol();
|
||||
|
||||
Reference in New Issue
Block a user