On Sat, Nov 10, 2001 at 02:58:20AM -0600, Bob Tanner wrote: > Quoting Thomas Eibner (thomas at stderr.net): > > So most of the query gets cached and you gain the benefit of not needing > > to quote the input from the user since that automatically happens by the > > binding of the placeholders. > > > > Does something similar exist in Java? > > It's called the prepareStatement() and it works just like the perl stuff. As I > posted previous, most modern servlet containers even cache queries for you > (don't ask me how it works :-). Why would you want your servlet container to cache the queries for you? That is the job of the database, and the database only. What if the data changed on disk? -- Thomas Eibner <http://thomas.eibner.dk/> DnsZone <http://dnszone.org/> mod_pointer <http://stderr.net/mod_pointer>