mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1333 - ENH: Support "dynamic formula" with findSingleAttributeList() ... e.g. .select("concat(lastName,', ',firstName)")
Support cast of formula like ... select("max(updtime)::Instant")
This commit is contained in:
@@ -1066,6 +1066,10 @@ public class BeanDescriptor<T> implements BeanType<T> {
|
||||
return owner.getScalarType(jdbcType);
|
||||
}
|
||||
|
||||
public ScalarType<?> getScalarType(String cast) {
|
||||
return owner.getScalarType(cast);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return true if this bean type has a default select clause that is not
|
||||
* simply select all properties.
|
||||
|
||||
Reference in New Issue
Block a user