Hi Isomorphic,
the generated SQL for
is:
.
The generated SQL for
.
While the IS NOT NULL-part for OperatorId.GREATER_OR_EQUAL is only boilerplate (at least when you are using Oracle), the IS NULL-part for OperatorId.LESS_OR_EQUAL changes the logic.
I'm pretty sure there is a option in server.properties to disable this kind of behaviour (as well as IS NOT NULL for OperatorId.LESS_OR_EQUALS), but I don't know the option's name.
Is there also a list of the possible options for server.properties? I didn't find it in the SmartGWT or SmartClient docs.
Thank you and Best regards,
Blama
the generated SQL for
Code:
new Criterion("ENDDATE", OperatorId.GREATER_OR_EQUAL, new Date())
Code:
({field} >= TO_DATE ('2013-11-19 00:00:00', 'YYYY-MM-DD HH24:MI:SS') [B]AND {field} IS NOT NULL[/B])
The generated SQL for
Code:
new Criterion("STARTDATE", OperatorId.LESS_OR_EQUAL, new Date())
Code:
({field} <= TO_DATE ('2013-11-19 00:00:00', 'YYYY-MM-DD HH24:MI:SS') [B]OR {field} IS NULL[/B])
While the IS NOT NULL-part for OperatorId.GREATER_OR_EQUAL is only boilerplate (at least when you are using Oracle), the IS NULL-part for OperatorId.LESS_OR_EQUAL changes the logic.
I'm pretty sure there is a option in server.properties to disable this kind of behaviour (as well as IS NOT NULL for OperatorId.LESS_OR_EQUALS), but I don't know the option's name.
Is there also a list of the possible options for server.properties? I didn't find it in the SmartGWT or SmartClient docs.
Thank you and Best regards,
Blama
Comment