JAVA SQL Script runner Loading example: Connection connection = YOUR CONNECTION TO DATABASE; SqlScriptRunner script = new SqlScriptRunner(connection,true); FileReader createTables = new FileReader("path/to/your/script/file"); script.runScript(createTables);