Tootfinder

Opt-in global Mastodon full text search. Join the index!

@frankel@mastodon.top
2026-10-04 13:05:07

I learned a long time ago that #Java #PreparedStatement's were compiled once and then re-used.
I thought that the result was stored in the driver. I was wrong. It's stored in the connection. For connection pools, the statement is compiled once for each new connection.