#Prepared Statements

1 messages · Page 1 of 1 (latest)

tulip oracle
#

When using prepared statements, should I be calling Connection#prepareStatement each time I want to use it, or should I create it once and save it to a variable?

wispy grail
tulip oracle
#

Interesting

#

I know there is caching going on behind the scenes, but I wonder why they don’t save it as a variable

dreamy niche
#

i mean

#

You know connections shouldnt persist as well

tulip oracle
#

True