[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4500) MSSQL, Oracle - Mapping inconsistency

Strong Liu (JIRA) noreply at atlassian.com
Mon Oct 19 09:13:47 EDT 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34226#action_34226 ] 

Strong Liu commented on HHH-4500:
---------------------------------

https://jira.jboss.org/jira/browse/JBPAPP-1068

> 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: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list