Found: nchar, expected: varchar2(255 char)

This issue had caused me at work while migrating from IBM Netezza to Oracle. The solution is to provide below solution in entity classes for string types

This is a Hibernate issue cannot identify varchar to nchar fields


@Column(name="JOBCODE", columnDefinition="char")
  public String getJobCode()
    return this.JobCode;

Leave a Reply

Your email address will not be published. Required fields are marked *