Error while creating table into database using hibernate


Hi Everyone,
I am trying to save student(entity class) object to database by firstly creating the student table using hibernate but its not working and giving the following error message


Note : I am using oracle database


The CREATE TABLE statement is not valid.

Copy it from the log and run it in Oracle SQL Developer. SQL Developer will point out what’s wrong with that statement.


integer, varchar(255), …
where one should expect number(19,0), varchar2(255 char), …

-> seems you don’t have the right dialect selected…