org.hibernate.JDBCException: Error during import script execution


Hibernate by default tries to import SQLs under (classpath);
resources folder named as import.sql;

So you should edit the content of this SQL file.

17 aug 2015 17:05:27,027 INFO SchemaExport:348 – Executing import script: /import.sql
17 aug 2015 17:05:27,030 ERROR SchemaExport:287 – schema export unsuccessful
org.hibernate.JDBCException: Error during import script execution at line 1
at org.hibernate.tool.hbm2ddl.SchemaExport.importScript(
at org.hibernate.tool.hbm2ddl.SchemaExport.execute(
at org.hibernate.tool.hbm2ddl.SchemaExport.create(
at org.hibernate.impl.SessionFactoryImpl.(
at org.hibernate.cfg.Configuration.buildSessionFactory(
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s