Hey can some one tell me what is wrong with the following

c.addGreaterOrEqualThan("initial_limit",new Integer(score));
                c.addLessOrEqualThan("final_limit",new Integer(score));
                QueryByCriteria query = new QueryByCriteria(Quizscore.class, c);
                Quizscore q = (Quizscore)broker.getObjectByQuery(query);
                broker.commitTransaction();

                return q;

its returning me a null object although I know the score I am passing exists
in valid range.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to