ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugeny N Dzhurinsky <b...@redwerk.com>
Subject passing connection to ibatis
Date Tue, 19 Sep 2006 12:40:43 GMT
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?

-- 
Eugene N Dzhurinsky

Mime
View raw message