Hello, I've got a dataSource with a field of type datetime and a whereClause with a velocity substitution:
with builds "v11.1p_2019-05-31/Enterprise Deployment" and 12.1 2019-06-03 it generates a WHERE like this:
while with "v11.1p_2019-07-11/Enterprise Deployment" and 12.1 2019-06-17 (don't know about builds in between) it generates this:
without the time part.
Note: in my actual use case the criteria value referred with $advancedCriteria.name is NOT actually declared as a field. Nevertheless the change in behaviour is the same.
Code:
.... <field name="DATA_EVENTO" type="datetime" includeFrom="JPC_LISTINI.DATA_INIZIO"/> .... <whereClause> JPC_LISTINI.DATA_INIZIO = $advancedCriteria.DATA_EVENTO </whereClause> ....
Code:
JPC_LISTINI.DATA_INIZIO = TO_DATE('2019-11-27 16:41:02','YYYY-MM-DD HH24:MI:SS')
Code:
JPC_LISTINI.DATA_INIZIO = TO_DATE('2019-11-27','YYYY-MM-DD')
Note: in my actual use case the criteria value referred with $advancedCriteria.name is NOT actually declared as a field. Nevertheless the change in behaviour is the same.
Comment