First chart working

Query query = mgr.createQuery("select from Cycle as Cycle where
cropName=:x and landQty>=:y");

The issue was that I was passing a parameter of the wrong type and wrong
name from HTML to java