db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Hillegas <Richard.Hille...@Sun.COM>
Subject Re: How to execute statements from textfile?
Date Mon, 04 Jan 2010 17:03:52 GMT
Franz wrote:
> Hello,
> is there an easy way to execute multiple queries from a textfile using Java?
> I'm planning to use Derby as an embedded db in a java desktop
> application and wanted to put the initial db-setup into a text file
> (inside a jar) that could be loaded and executed once.
> Regards
> franz
Hi Franz,

You may find the ij tool useful for this purpose. See the section on ij 
in this reference guide: http://db.apache.org/derby/docs/10.5/tools/

Hope this helps,

View raw message