Skip to content

Schema validation error in Oracle #2738

@DavideD

Description

@DavideD

Schema validation fails in Oracle if the sql column type is nvarchar2 and entity field type is String.
That's because we expect the value to be a varchar2:

SchemaManagementException: Schema validation: wrong column type encountered in column [something_name] in table [Fruit]; found [nvarchar2 (Types#NULL)], but expecting [varchar2(255 char) (Types#VARCHAR)]

The error is only in Hibernate Reactive because we are not converting the column type the same way JDBC does.

FYI @yrodiere

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions