Juan Ignacio Villa <[EMAIL PROTECTED]> writes:

> Thanks.
> I resolve it. But i dont mind the difference between
> rs.executeQuery() and rs.executeQuery(sql). Whith the
> fist one i get the outOfMemory exception.

Well, as long as it works for you... 
But compiling the statement each time you go through the loop will
degrade performance. I don't understand why you should get an
out-of-memory error when you use prepared statements, though...

-- 
dt


Reply via email to