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

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

Open
jmdopereiro opened this issue Aug 14, 2022 · 1 comment

Comments

@jmdopereiro
Copy link

jmdopereiro commented Aug 14, 2022

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

@wjmxy
Copy link

wjmxy commented Apr 15, 2024

thank

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