[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5355) org.hibernate.test.id.uuid.sqlrep.sqlchar.UUIDCharTest errors with IngresDialect

Ray Fan (JIRA) noreply at atlassian.com
Tue Jul 6 05:51:16 EDT 2010


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

Ray Fan commented on HHH-5355:
------------------------------

Patch corrects column definition for the UUID column in the table, but since the mapping seems to be to a CHAR(255) the field returned is a space padded value resulting in a number format exception.

> org.hibernate.test.id.uuid.sqlrep.sqlchar.UUIDCharTest errors with IngresDialect
> --------------------------------------------------------------------------------
>
>                 Key: HHH-5355
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5355
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>         Environment: Hibernate trunk r19825, Ingres 10.0.0 (int.lnx/125)
>            Reporter: Ray Fan
>         Attachments: IngresDialect.UUIDCharTest.testUsage.svn.diff, org.hibernate.test.id.uuid.sqlrep.sqlchar.UUIDCharTest.zip
>
>
> org.hibernate.test.id.uuid.sqlrep.sqlchar.UUIDCharTest testUsage assertNotNull fails.  The inserted UUID string is truncated because the dialect maps the UUID column type to a char(1).  The subsequent select with the UUID restriction returns no rows.

-- 
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