ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sundar Sankar" <fatboys...@gmail.com>
Subject Re: Calling a procedure by default.
Date Thu, 22 May 2008 23:34:08 GMT
Hi Chris,
            Thanks for your prompt response. I have a lot of stored
procedures created already and the audit procedures needs to take specific
IN parameters which was created in the app. My choices were to change the
procedures to take these parameters and call the procedure from within or
have them called separately outside from the application.

We are using oracle as the database.


On Thu, May 22, 2008 at 4:25 PM, Christopher Lamey <clamey@localmatters.com>

> Why not use a trigger on the table to call the procedure?
> What database are you using?
> On 5/22/08 5:22 PM, "Sundar Sankar" <fatboysuns@gmail.com> wrote:
> > Hi,
> >     I am using Spring and Ibatis in our application and we have a
> > requirement where an audit procedure needs to be called every time an
> update
> > procedure is called. Is there a way in Ibatis where I can specify such a
> > thing. I can take care of naming the update procedure in a particular way
> or
> > follow any pattern needed to achieve it. Please do let me know if there
> is a
> > way to get around this instead of calling the audit procedure manually
> every
> > time.
> >
> >
> > Regards
> > Sundar Sankarnarayanan

View raw message