You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Akmal Sarhan <ak...@hotmail.com> on 2002/08/05 11:50:10 UTC
serializing Criteria
I am trying to serialize a org.apache.torque.util.Criteria Object into the
db
and then retrieving it back when I need it(to use it with the scheduler)
but it does not work:
if I call the toString() method on the original Criteria object, I get
something like
Criteria:: HOUSE.RENT<=>HOUSE.RENT=0:
Current Query SQL (may not be complete or applicable): SELECT FROM HOUSE
WHERE HOUSE.RENT=0
after deserialization:
Criteria:: HOUSE.RENT<=>HOUSE.RENT=HOUSE.RENT=0:
Current Query SQL (may not be complete or applicable): SELECT FROM HOUSE
WHERE HOUSE.RENT=HOUSE.RENT=0
what is wrong, why is the deserialized criteria different?
cheers
Akmal
........................................................
Akmal Sarhan
Freelance Software-Entwickler
Berlin
Deutschland
........................................................
_________________________________________________________________
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>