  | | | executing a script file (with many statements) as a string? | executing a script file (with many statements) as a string? 2005-06-24 - By Tim Diggins
Back Hi --
I'm converting from HSQLDB (used for devel purposes) to MySql (for deployment).
with HSQLDB I was executing a number of sql DDL updates in a single execute.
I have converted the file (of sql DDL updates) so it works fine in Mysql - when using "source" from mysql command line client.
However when executing the same set of commands (sucked from the file into a string), it is giving me arbitrary sql errors.
the only thing I've changed between the hsqldb & the mysql versions is my my ddl file & my connection details (obviously!).
any ideas?
TIA
Tim Diggins
(just FYI - I'm actually using Spring Framework to set up the connection and then execute (JdbcTemplate.execute()) in case that is significant)
-- MySQL Java Mailing List For list archives: http://lists.mysql.com/java To unsubscribe: http://lists.mysql.com/java?unsub=mysql@(protected)
|
|
 |