Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flyway 3.2 fails with "ORA-00911: invalid character" if script contains default char value #974

Closed
specifice opened this issue Mar 20, 2015 · 1 comment

Comments

@specifice
Copy link

The following script fails with flyway 3.2

    CREATE TABLE TEST_TABLE (
        BOOL_FLAG1 CHAR(1 BYTE) DEFAULT 'N'
    );

on oracle XE 11 with

    java.sql.SQLSyntaxErrorException: ORA-00911: invalid character

Apparently, the character considered invalid is newline.
Does not fail with Flyway 3.1, neither fails if "DEFAULT 'N'" part is removed.

@axelfontaine
Copy link
Contributor

Duplicate of #971

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants