db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendle...@amberpoint.com>
Subject Re: How to execute statements from textfile?
Date Mon, 04 Jan 2010 17:02:45 GMT
> is there an easy way to execute multiple queries from a textfile using Java?

You might find the ij.runScript method helpful:
http://db.apache.org/derby/docs/10.5/publishedapi/jdbc4/org/apache/derby/tools/ij.html#runScript(java.sql.Connection,%20java.io.InputStream,%20java.lang.String,%20java.io.OutputStream,%20java.lang.String)

thanks,

bryan



Mime
View raw message