This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Read SQL File Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Read SQL File" Watch "Read SQL File" New topic

Read SQL File

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

Are there any methods or classes in the java.sql or javax.sql or 3rd party that let you just specify a .sql file.
I don't really feel like writing my own sql file parser and thought maybe someone already has.

GenRocket - Experts at Building Test Data
It is sorta covered in the JavaRanch Style Guide.
subject: Read SQL File
jQuery in Action, 3rd edition