MSSQL, Oracle - Mapping inconsistency

Description

There's a mapping inconsistency when using MSSQL and @Type(type="text"). When creating the table, the field gets created as "text", but when issuing a delete, it set's the field as varchar, by which the MSSQL driver returns: The data types text and nvarchar are incompatible in the equal to operator.

Model: org.hibernate.test.annotations.entity.Forest , property longDescription
Sample test: org.hibernate.test.annotations.entity.BasicHibernateAnnotationsTest#testType

Environment

ms sql, oracle

Activity

Show:
Strong Liu
October 19, 2009, 3:13 PM
Steve Ebersole
March 21, 2011, 7:06 PM

Bulk closing stale resolved issues

Assignee

Strong Liu

Reporter

Strong Liu

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure