public static void executeDatabaseScript ( String script ) throws SQLException , MalformedURLException { File file = new File ( script ) ; DatabaseUtils . executeSqlScript ( DatabaseUtils . getDBConnection ( null ) , file . toURI ( ) . toURL ( ) ) ; }
Executes database script from resources directory