R
Raj
I've looked high and low for a satisfactory answer but could not find
one.
I've always thought PreparedStatements were more efficient than
Statements since they are precompiled. Then I read somewhere that if
the preparedstatements were being closed, the database will have to
recompile the preparedstatements again. Somebody tell me that this is
not true since the connections are only being returned to the
connection pool and not actually being closed, the precompiled
preparedstatement is still out there.
Or if I am wrong, please correct me.
Thanks,
Raj
one.
I've always thought PreparedStatements were more efficient than
Statements since they are precompiled. Then I read somewhere that if
the preparedstatements were being closed, the database will have to
recompile the preparedstatements again. Somebody tell me that this is
not true since the connections are only being returned to the
connection pool and not actually being closed, the precompiled
preparedstatement is still out there.
Or if I am wrong, please correct me.
Thanks,
Raj