the fieldFinders current looks like:
"fieldFinders": [
{ "id_sm_creditor": "unique" },
{ "cd_payment_method,fl_is_active": "multiple" }
],
There should be a fieldFinder which has the following format:
{ "fields": "cd_payment_method,fl_is_active", "unique": true/false, "orderBy": "<comma_separated_field_list>"
the <comma_separated_field_list> could either generate all ASCending and DESCending order by, or it may be more prudent to all woth user to typ a comma separated field list like:
"orderBy": "nm_creditor desc,cd_creditor desc"
which will generate to finders with each of the orders.
The name of the finder would be:
findByCdPaymentMethodFlIsActiveOrderedByNmCreditorDesc and findByCdPaymentMethodFlIsActiveOrderedByCdCreditorDesc
the
fieldFinderscurrent looks like:There should be a
fieldFinderwhich has the following format:the
<comma_separated_field_list>could either generate all ASCending and DESCending order by, or it may be more prudent to all woth user to typ a comma separated field list like:"orderBy": "nm_creditor desc,cd_creditor desc"which will generate to finders with each of the orders.
The name of the finder would be:
findByCdPaymentMethodFlIsActiveOrderedByNmCreditorDescandfindByCdPaymentMethodFlIsActiveOrderedByCdCreditorDesc