Example usage for org.springframework.jdbc.datasource.init ScriptUtils executeSqlScript

List of usage examples for org.springframework.jdbc.datasource.init ScriptUtils executeSqlScript

Introduction

In this page you can find the example usage for org.springframework.jdbc.datasource.init ScriptUtils executeSqlScript.

Prototype

public static void executeSqlScript(Connection connection, EncodedResource resource, boolean continueOnError,
        boolean ignoreFailedDrops, String[] commentPrefixes, @Nullable String separator,
        String blockCommentStartDelimiter, String blockCommentEndDelimiter) throws ScriptException 

Source Link

Document

Execute the given SQL script.

Usage