db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject [PATCH] Fix procedure checks in StatementsForClassImpl
Date Tue, 11 Jan 2005 16:15:28 GMT
[I did it again - forgot the attachement]

Hi all,

This patch fixes incorrect test in StatementsForClassImpl. Currently for
create/update/delete procedures it has single check, in usePreparedStatement:

        return !((classDescriptor.getUpdateProcedure() != null) &&

Which means that if update procedure is present, it will attempt to call a
procedure for create/delete as well - even if none is configured.

Hope somebody can apply the patch. And please review also:


View raw message