Open
Description
Phil Webb opened SPR-15438 and commented
Originally raised with Spring Boot the org.springframework.jdbc.datasource.init.ScriptUtils#splitSqlScript
method cannot deal with semicolons that are part of a stored procedure.
For example:
CREATE FUNCTION count_clients() RETURNS integer
LANGUAGE plpgsql
AS $$begin
select count(*) from clients;
end;$$;
Affects: 4.3.7
Issue Links:
- Oracle SQL hints are ignored as comments in ScriptUtils [SPR-15389] #19952 Oracle SQL hints are ignored as comments in ScriptUtils
2 votes, 5 watchers