Results 1 to 1 of 1
Thread: Execute sql script from java
- 06-10-2011, 01:52 PM #1
Member
- Join Date
- May 2011
- Posts
- 7
- Rep Power
- 0
Execute sql script from java
Hello,
I want to run an sql script generated by mysql inside java.This sql script creates the default tables.The first problem is that i had to remove the comments before executing the script.But then when i execute the script inside java i am getting errors.I am getting the same errors when i copy paste the script to mysql query browser!But if i import the script it creates everything ok.Is there any tool for running sql scripts?I have my application and i want to add an installation class which will create all the necessary tables
Similar Threads
-
how to execute the Java program to 0 sec?
By yanipra in forum New To JavaReplies: 4Last Post: 03-01-2011, 09:33 AM -
execute a .exe with attributes from java
By danielleon11 in forum Advanced JavaReplies: 1Last Post: 07-14-2010, 01:25 AM -
Java script
By kirtichopra2003 in forum Advanced JavaReplies: 1Last Post: 12-04-2009, 07:55 PM -
java script
By satti in forum Web FrameworksReplies: 0Last Post: 06-09-2009, 08:53 AM -
how do i run EXECUTE DBMS_MVIEW.REFRESH script from within java
By alexh in forum JDBCReplies: 0Last Post: 07-11-2007, 01:22 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks