Hi,

I am a newbie to spring.

I have a Dao bean which is singleton.In this bean class I have getters and setters for stored procedure class.This stored procedure class extends the StoredProcedure.

At present I have two methods which seperately set the input paramaters and execute the respective stored procedure.When I call these methods with the same instance of the class I get an error saying "Cannot declare paramaters after compiling".

Is there any way for me to execute multiple stored procedure in a class and let another bean call the methods based on whichever stored procedure it wants to execute.

Thanks in advance.