Hi, What is the signature of your method? If you use something like: public static int test(int x) and use CALL TEST(NULL), the database will not call the method at all (because there is no 'int null'). But if you use public static int test(Integer x) then the method will be called.
Regards, Thomas On Thu, Sep 11, 2008 at 12:14 PM, JonF <[EMAIL PROTECTED]> wrote: > > I am using H2 & DBUnit to test a spring DAO which uses a class which > extends the spring class StoredProcedure. > > If I pass values for all parameters the Java method I have written to > replace an actual stored procedure is invoked, but if I pass a null > value for one parameter the method is not invoked. This is calling > super.execute with a map containing "parameter" -> null. > > Is there any way to get around this behaviour? > > Cheers > > Jon > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/h2-database?hl=en -~----------~----~----~----~------~----~------~--~---
