Package com.github.jmkgreen.morphia.query

Examples of com.github.jmkgreen.morphia.query.Query.disableValidation()


        final String umChart = ChartEnumHelper.getByName(field).getUm();
        final Query q = ds.createQuery(Meteolog.class);
        final Date dFrom = DateTimeUtil.getDate("yyyy-MM-dd hh:mm:ss", from);
        final Date dTo = DateTimeUtil.getDate("yyyy-MM-dd hh:mm:ss", to);

        q.disableValidation().filter("time >=", dFrom).filter("time <=", dTo);

        final List<Meteolog> meteoLogList = q.asList();
        final TimeSeries series = new TimeSeries(umChart);

        for (Meteolog m : meteoLogList) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.