Skip to content

Allow the comment prefix used in data source initialisation scripts to be configured #16820

Closed
@s41u

Description

@s41u

Any line in the schema script with a sql comment and without semi-colon at the end of that line causes that the next sql statement is not executed but the rest of the script will be executed anyway.

Spring Boot v2.1.4.RELEASE

DOESNT' WORK:
DROP TABLE abc IF EXISTS;
# blablabla
DROP TABLE efg IF EXISTS;

DOES WORK:
DROP TABLE abc IF EXISTS;
# blablabla; <-- semi-colon added
DROP TABLE efg IF EXISTS;

(Please check if the issue occurs also for data.sql script)

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: declinedA suggestion or change that we don't feel we should currently apply

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions