You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi, i want to use date limit query such as createTime>='2017.05.14', when i use it, they always to display following error, the "createTime" is date formate in mongodb. Failed to convert from type java.lang.String to type java.util.Date for value '2017-05-14'; nested exception is java.lang.IllegalArgumentException
this is our code: QueryConversionPipeline pipeline = QueryConversionPipeline .defaultPipeline(); Condition<GeneralQueryBuilder> condition = pipeline.apply( fiqlExpression, SubjectKnowledge.class); Criteria criteria = condition.query(new MongoVisitor()); query = new Query(criteria);
How should i do now.
Thanks
The text was updated successfully, but these errors were encountered:
hi, i want to use date limit query such as createTime>='2017.05.14', when i use it, they always to display following error, the "createTime" is date formate in mongodb.
Failed to convert from type java.lang.String to type java.util.Date for value '2017-05-14'; nested exception is java.lang.IllegalArgumentException
this is our code:
QueryConversionPipeline pipeline = QueryConversionPipeline .defaultPipeline(); Condition<GeneralQueryBuilder> condition = pipeline.apply( fiqlExpression, SubjectKnowledge.class); Criteria criteria = condition.query(new MongoVisitor()); query = new Query(criteria);
How should i do now.
Thanks
The text was updated successfully, but these errors were encountered: