[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: UU code
No, I don't understand why would we have to do that.
What I'm trying to do now is saving CODBCDatabase handle in SessionContext.
What's the purpose of CDatabase? Why a handle isn't enough?
Please elaborate.
> Also, it isn't enough to have db handle to work with the database. We (in
> ideal case) should have CDatabase object staying alive through the whole
> session. I'm not sure - where to keep it, but it shoul be connected with
> the
> session data. Does it make sense?
>
> 2007/3/14, Ilya A. Volynets-Evenbakh <ilya@total-knowledge.com>:
>>
>> No.
>>
>> sergey@total-knowledge.com wrote:
>> >> Servlet has a virtual init() method, that you can override. There you
>> >> can create your pool instance and store it in ServletContext
>> attribute.
>> >>
>> >
>> > In order to do that my libdm' uudb class should extend HttpServlet and
>> be
>> > servlet itself. Is it right way to do it?
>> >
>> >
>> >
>> >> --
>> >> Ilya A. Volynets-Evenbakh
>> >> Total Knowledge. CTO
>> >> http://www.total-knowledge.com
>> >>
>> >>
>> >>
>> >
>> >
>> >
>>
>> --
>> Ilya A. Volynets-Evenbakh
>> Total Knowledge. CTO
>> http://www.total-knowledge.com
>>
>>
>
>
> --
> Alexey Parshin,
> http://www.sptk.net
>
- References:
- UU code
- From: sergey@total-knowledge.com
- Re: UU code
- From: sergey@total-knowledge.com
- Re: UU code
- From: "Ilya A. Volynets-Evenbakh" <ilya@total-knowledge.com>
- Re: UU code
- From: sergey@total-knowledge.com
- Re: UU code
- From: sergey@total-knowledge.com
- Re: UU code
- From: "Ilya A. Volynets-Evenbakh" <ilya@total-knowledge.com>
- Re: UU code
- From: sergey@total-knowledge.com
- Re: UU code
- From: "Ilya A. Volynets-Evenbakh" <ilya@total-knowledge.com>
- Re: UU code
- From: sergey@total-knowledge.com
- Re: UU code
- From: "Ilya A. Volynets-Evenbakh" <ilya@total-knowledge.com>
- Re: UU code
- From: "Alexey Parshin" <alexeyp@gmail.com>