ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Meadors" <lmead...@apache.org>
Subject Re: passing connection to ibatis
Date Wed, 20 Sep 2006 14:00:30 GMT
Well, I have never imagined that anyone would want to. ;-)

Larry


On 9/20/06, Eugeny N Dzhurinsky <bofh@redwerk.com> wrote:
> On Tue, Sep 19, 2006 at 03:40:43PM +0300, Eugeny N Dzhurinsky wrote:
> > Hello!
> >
> > I have a problem - my application creates temporary views for set of talbes
> > and then I would like to execute some queries on this view using iBATIS. For
> > postgresql the temporary view is alife unless the connection is closed, so my
> > workflow might looks like this:
> >
> > 1) get the connection from pool/whatever
> > 2) create view
> > 3) invoke SQL using iBATIS
> > 4) excplicitly close connection to avoid re-using it by some other module
> >
> > how can I implement this?
>
> So it isn't possible at all ot nobody did such things before? ;)
>
> --
> Eugene N Dzhurinsky
>

Mime
View raw message