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) &&
               (classDescriptor.getUpdateProcedure().hasReturnValues()));

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:
  http://marc.theaimsgroup.com/?l=ojb-dev&m=110433444012727
  http://marc.theaimsgroup.com/?l=ojb-dev&m=110433552712812


Thanks, Vadim


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



Reply via email to