Running a SQL script from Java in Java DB
Posted by davidvc on May 15, 2007 at 1:21 PM EDT
Most databases provide a command-line tool to run SQL that you've put in a file. But sometimes you want to do this straight from Java.
A recent thread on the derby-user list included an email from Dan Debrunner about a Java API that exists in Java DB that lets you do this. Something to keep in your back pocket in case you need it.
Blog Links >>
- Login or register to post comments
- Printer-friendly version
- davidvc's blog
- 281 reads





