Andras Balogh wrote:

I think you can use it like this:
criteria.add(TransaktionPeer.METHOD, (Object) "T.METHOD = TRANSAKTION.METHOD",Criteria.CUSTOM);

Thank you, this works!

Another question: I have built part of my WHERE Criteria elsewhere in the program and am just passing on the Criteria object. When I "and" further Criteria to the WHERE clause they get prepended rather than appended.
I normally use Criterions where the order within the WHERE clause is crucial. But there doesn't seem to be a way to extract the WHERE Criterion to add to it. Or is there?


 --

Regards/Gru�,

Tarlika Elisabeth Schmitz

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



Reply via email to