I have an operation binding in my ds.xml for a custom fetch operation defined as:
where the field in question is defined in that same ds.xml as:
When that custom fetch is executed, The AdvancedCriteria on the server has the value as a string set to "true" whereas if I use a filter and set the same field it comes to the server as a Boolean.
Is there any reason the custom fetch with the binding is not used the defined datatype of that field or is there something I can do to have it use a Boolean instead of a String? Is there a type attribute for the criteria xml?
Code:
<operationBindings> <binding operationType="fetch" operationId="findActiveTriggers" serverMethod="findActiveTriggers" > <criteria operator="equals" fieldName="enabledOpsfield" value="true"/> </binding> </operationBindings>
Code:
<field name="enabledOpsfield" type="boolean">
Is there any reason the custom fetch with the binding is not used the defined datatype of that field or is there something I can do to have it use a Boolean instead of a String? Is there a type attribute for the criteria xml?
Comment