hi,
We are trying to get only new or updated records from an oracle 10.0g Database. The client side criteria that we send to the server looks like this:
The resulting sql query selects rows whose timestamp is greater than TO_DATE('2010-11-09', 'yyyy-mm-dd'). No time is added. But we need the time part since we want to receive all updates since last fetch.
DatasourceField is specified as
The database we access is a Oracle 10g (10.2.0.4) DB and we use SmartGWT Power Edition 2.3.
How can we persuade smartgwt to add the time part?
Thanks in advance
We are trying to get only new or updated records from an oracle 10.0g Database. The client side criteria that we send to the server looks like this:
Code:
Date date = /* last request date */; AdvancedCriteria criteria = new AdvancedCriteria("DEF_TIMESTAMP", OperatorId.GREATER_THAN, date); dataSource.fetch(criteria);
DatasourceField is specified as
Code:
<field sqlType="timestamp" sqlLength="30" name="DEF_TIMESTAMP" type="datetime"></field>
How can we persuade smartgwt to add the time part?
Thanks in advance
Comment