Skip to content

Error executing DDL "# noinspection SqlNoDataSourceInspectionForFile" via JDBC Statement #119

@jmdopereiro

Description

@jmdopereiro

I am getting the following error when running the default H2 database:

Error executing DDL "# noinspection SqlNoDataSourceInspectionForFile" via JDBC Statement

org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL "# noinspection SqlNoDataSourceInspectionForFile" via JDBC Statement
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:67) ~[hibernate-core-5.3.11.Final.jar!/:5.3.11.Final]

It gets fixed removing the first line of the import.sql file

# noinspection SqlNoDataSourceInspectionForFile

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions