Re: addGreaterOrEqual

2003-03-19 Thread Jakob Braeuchi
hi ismail,

please post the sql.

jakob

Ismail Siddiqui wrote:

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]
 



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


addGreaterOrEqual

2003-03-18 Thread Ismail Siddiqui
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]