MSSQL, Oracle - Mapping inconsistency
-------------------------------------
Key: HHH-4500
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4500
Project: Hibernate Core
Issue Type: Bug
Components: annotations
Affects Versions: 3.2.4, 3.3.2, 3.5.0.Beta-1
Environment: ms sql, oracle
Reporter: Strong Liu
Assignee: Strong Liu
Fix For: 3.5
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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: