Selvam Rajendran
Selvam Rajendran

Reputation: 1376

Wrong column type (oracle) Found: number, expected: boolean

  1. I am using jdk 1.6.45 spring 3.1 hibenate 4 jpa-2 junit 4 and maven
  2. when i run the junit
  3. I am getting the below error

    Issue Description

If I remove the below line in persistance xml .., validation skipped and working fine

          <property name="hibernate.hbm2ddl.auto" value="validate" /> 

what needs to be done to the execute junit validation

Upvotes: 0

Views: 826

Answers (1)

Selvam Rajendran
Selvam Rajendran

Reputation: 1376

I have changed org.hibernate.dialect.OracleDialect to org.hibernate.dialect.Oracle10gDialect

Not It is working perfect.

Upvotes: 1

Related Questions