mirror of
https://github.com/corda/corda.git
synced 2025-01-18 18:56:28 +00:00
23c604b1db
Vault queries: 'order by' function aggregation e.g. 'order by sum(col)' is replaced by the position of the selected column (e.g. 'order by 1').
Rationale: A database may be unable to support aggregation function in order by clause e.g. 'order by (sum col_x)' and Hibernate can't produce alias in this case e.g. ' select sum(col_x) as alias_x... order by also_x ...', the best universal solution is to use positional parameter e.g. 'select sum(col_x) as alias_x... order by 1 ...'
(cherry picked from commit
|
||
---|---|---|
.. | ||
capsule | ||
src | ||
build.gradle |