Skip navigation links

MySQL Forums :: Connector/JDBC and Java :: Anyone have trouble issuing a DELIMITER command via JDBC driver?


Advanced Search

Re: Anyone have trouble issuing a DELIMITER command via JDBC driver?
Posted by: Mark Matthews ()
Date: February 18, 2009 12:36PM

Hi,

You don't need "delimiter" to create a stored procedure using Connector/J or any other client that isn't "mysql". The delimiter exists *only* to tell "mysql" that you're done typing, and that the command should be sent to the server. With other *libraries*, that's done by the very fact that you've called some method to send the string representing the command to the server.

Also, there is no good reason for client libraries to be parsing the SQL sent to them more than they absolutely need to, it will cause performance degradation for every one who uses them.

-Mark

Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools
Oracle
http://www.mysql.com/products/enterprise/monitor.html

Options: ReplyQuote


Subject Written By Posted
Anyone have trouble issuing a DELIMITER command via JDBC driver? Jon Rue 12/12/2006 01:42PM
Re: Anyone have trouble issuing a DELIMITER command via JDBC driver? Bill Karwin 12/12/2006 05:37PM
Re: Anyone have trouble issuing a DELIMITER command via JDBC driver? Jon Rue 12/13/2006 11:23AM
Re: Anyone have trouble issuing a DELIMITER command via JDBC driver? Bill Karwin 12/13/2006 08:48PM
Re: Anyone have trouble issuing a DELIMITER command via JDBC driver? Bill Karwin 12/13/2006 08:52PM
Re: Anyone have trouble issuing a DELIMITER command via JDBC driver? Rolly Zhang 02/16/2009 04:29PM
Re: Anyone have trouble issuing a DELIMITER command via JDBC driver? Mark Matthews 02/18/2009 12:36PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.