[Opensource] DBObject count and customWhereClause ...

jean-francois.james at atosorigin.com jean-francois.james at atosorigin.com
Mon Jun 3 04:37:10 PDT 2002


It seems that count() method dooesn't work with a customWhereClause in
Expresso V4.02 ...

A simple way to solve this is to replace the code within count() method :

myStatetement.append(buildWhereClauseBuffer(true));

by :

if ( customWhereClause!=nulll )
  myStatement.append(customWhereClause);
else
  myStatement.append(buldWhereClauseBuffer(true));

Whe hande done and tested this modification, it seems to work.

May this has already been solved in CVS ...
___
Ce message est strictement confidentiel. Son intégrité n'est pas assurée
sur Internet. Le contenu de ce message ne peut engager la responsabilité
d'Atos Origin. Si vous n'êtes pas destinataire du message, merci d'en
avertir immédiatement l'expéditeur et de le détruire.
This e-mail is privileged and may contain confidential information intended
only for the person(s) named above. If you receive this e-mail in error,
please notify the sender immediately by telephone or return e-mail.




More information about the Opensource mailing list