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

Ray Fan (JIRA) noreply at atlassian.com
Tue Aug 17 07:19:41 EDT 2010


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ray Fan updated HHH-5484:
-------------------------

    Attachment: UUIDCharType.java.svn.diff

Patch modifies the type mapping from CharType to VarcharType to avoid the inclusion of trailing spaces.

> org.hibernate.test.id.uuid.sqlrep.sqlchar.UUIDCharTest testUsage errors with IngresDialect
> ------------------------------------------------------------------------------------------
>
>                 Key: HHH-5484
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5484
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core, testsuite
>    Affects Versions: 3.6.0.Beta2
>         Environment: Hibernate 3.6.0-SNAPSHOT, Ingres II 10.0.0 (int.lnx/128)
>            Reporter: Ray Fan
>         Attachments: UUIDCharType.java.svn.diff
>
>
> testUsage test case errors using the Ingres dialect during the instantiation of the child node.
> The CharacterType mapping for the UUID defaults to a CHAR(255) column and is returned as a space padded character value causing an exception in UUID.fromstring() called from UUID_parse on the returned value.

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