corda/node
szymonsztuka 416d4ecaeb
ENT-1428 Vault queries - change SQL generation for aggregate function in 'group by' clause. (#426)
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: NonStop database doesn't support aggregation function in order by clause e.g. 'order by (sum col_x)'. I couldn't find a way to force Hibernate to produce alias e.g. ' select sum(col_x) as alias_x... order by also_x ...',   and the only solution supported by all db an HPE NonStop is to use positional parameter e.g. 'select sum(col_x) as alias_x... order by 1 ...'
2018-04-30 09:45:15 +01:00
..
capsule Merge remote-tracking branch 'open/master' into merge/tudor-26-03 2018-03-26 14:07:28 +01:00
lib Oracle 11xe and 12c database compatibility (#206) 2018-01-29 18:35:58 +00:00
src ENT-1428 Vault queries - change SQL generation for aggregate function in 'group by' clause. (#426) 2018-04-30 09:45:15 +01:00
build.gradle Merge commit '5f70b6e04954a6dc64a1a56089eeccb2966bb0ae' into chrisr3-os-merge 2018-04-24 18:09:41 +01:00