Skip navigation links

MySQL Forums :: Connector/JDBC and Java :: Can't send SQL statement containing 'DELIMITER $$'


Advanced Search

Re: Can't send SQL statement containing 'DELIMITER $$'
Posted by: Mark Matthews ()
Date: May 10, 2012 11:43PM

Denis,

Since JDBC can't process scripts, I guess it depends on how your application is reading said script and sending it to the database via JDBC. It should be sending it as one complete string, not one string per line.

-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
Can't send SQL statement containing 'DELIMITER $$' Denis Lemberger 05/01/2012 01:58AM
Re: Can't send SQL statement containing 'DELIMITER $$' Mark Matthews 05/01/2012 07:13AM
Re: Can't send SQL statement containing 'DELIMITER $$' Denis Lemberger 05/02/2012 12:11AM
Re: Can't send SQL statement containing 'DELIMITER $$' Mark Matthews 05/10/2012 11:43PM
Re: Can't send SQL statement containing 'DELIMITER $$' Denis Lemberger 05/22/2012 12:15AM


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.