Error while creating table into database using hibernate


#1

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


#2

Note : I am using oracle database


#3

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.


#4

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

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