commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 王钦 <wang...@k2data.com.cn>
Subject Re: Could DBCP set different username when getConnection
Date Fri, 17 Feb 2017 02:05:47 GMT
Thank you for you suggestion. But it should consume much more system 
memory...


On 2017年02月16日 17:31, John Patrick wrote:
> >From my understanding of you question. You would need a pool per role/user.
>
> John
>
>
> On 16 February 2017 at 08:48, 王钦 <wangqin@k2data.com.cn> wrote:
>> Hi All:
>>
>>      I define some roles and grant different privileges in database. And I
>> use DBCP to manage the connection. How could I set different user name when
>> I get one connection from DBCP?
>>
>> Thanks for reading this mail.
>>
>>
>> Qin
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
>> For additional commands, e-mail: user-help@commons.apache.org
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message