mercredi 27 mai 2015

unsuccessful create table when running h2 unit test

i have a spring + hibernate (working) project, oracle database, in which i would like to add database unit testing using H2 + TestNg.

When i try to run the tests, it appears the following error:

syntax error in sql statement

create table ( ... .. .. ); expected "long"; sql statement

I don't understand why h2 is not able to create these tables, and what does the error mean.

The tables are auto-generated by hibernate.

Any help would be appreciated

Aucun commentaire:

Enregistrer un commentaire