List:MySQL and Java« Previous MessageNext Message »
From:Mark Matthews Date:September 14 1999 6:58pm
Subject:RE: JDBC and Prepared Statements
View as plain text  
On Tue, 14 Sep 1999, John Millaway wrote:

> > Both JDBC drivers MM.MySQL (mine) and TWZ implement the entire 
> > PreparedStatement functionality outside of the MySQL database.
> > 
> > 	-Mark
> 
> Hi, 
> Does that mean, as far as performance in concerned, that
> PreparedStatements aren't really helping at all?

True, the query planner executes each time executeXXXX() is called on a 
PreparedStatement under MySQL. However PreparedStatement is much more 
convenient for "on-the-fly" queries, and sending binary data to the 
server, as it handles escaping, and quoting for you in any case.

	-Mark
Thread
JDBC and Prepared StatementsTim Reilly14 Sep
  • Re: JDBC and Prepared StatementsMark Matthews14 Sep
    • Java based front-end on MySQLSM Hon.15 Sep
      • Re: Java based front-end on MySQLCris Perdue15 Sep
RE: JDBC and Prepared StatementsJohn Millaway14 Sep
  • RE: JDBC and Prepared StatementsMark Matthews14 Sep
  • Re: JDBC and Prepared StatementsChristian Mack14 Sep