ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Meadors <larry.mead...@gmail.com>
Subject Re: Passing logged in Username and password to iBATIS
Date Tue, 27 Sep 2005 19:05:40 GMT
I have been down that path, and used proxool to do it.

I would *not* recommend doing this.

It will be easier to change the procedures to allow passing in the user id.

We did something similar, in that we made them default to USER if a
user parameter is not passed in, and if the user is the iBATIS userid,
they fail. That forces callers to use either a trusted (i.e., Oracle)
connection, or supply a user.


On 9/27/05, Vijai Senthil Padmanabhan Kalaiyarasi
<vijaisenthil.padmanabhan@kumaran.com> wrote:
> Hi,
>     I am working on a re-enginerring project from Oracle forms to J2EE.
>     There are several DB procedures using the USER variable of  Oracle.
>     So I am forced to get a connection for the logged in Username and
> password.
>     How can I tell the iBATIS to execute my statements in the connection
> created by the logged in Username and password?
>     Is there any method to do that?
> Thanks and Regards
> Vijai Senthil P K

View raw message