It might be that is the first quoteInto call, so connection  should be
established.

Problem I see is, why it has to communicate with db server for each value in
array it quotes?!?!? Why not ask it for whatever it needs,a dn then use
given result for each value it quotes in array of values.

Regards,
Saša Stamenković


On Mon, May 24, 2010 at 8:59 PM, Thomas D. <[email protected]> wrote:

> Hi,
>
> Саша Стаменковић wrote:
> > Does it need to communicate with the db server?
>
> Yes, it does.
>
> And as I tried to show you in my mail ~3 hours ago, it's nothing bad,
> because quote() will reuse the existing connection.
>
> I hope you understand, that quoteInto() is a method from the adapter and
> it's nothing else than a wrapper for the adapter's quote() method.
>
> So when stack trace show you, that it failed to connect by calling
> quoteInto(), the used adapter hasn't yet established a connection. Start
> asking, why this adapter hasn't yet established a connection (if it isn't
> the first quoteInto() call, there was at least one quoteInto() call, which
> was successful. What's happen to the adapter used in this call?).
>
>
> --
> Regards,
> Thomas
>
>
>

Reply via email to