[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-3670) Invalid test for str() for SQL Server and Sybase

Gail Badner (JIRA) noreply at atlassian.com
Fri Dec 19 16:00:39 EST 2008


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

Gail Badner resolved HHH-3670.
------------------------------

    Resolution: Fixed

Fixed in Branch_3_2 , Branch_3_2_4_SP1_CP, Branch_3_3, and trunk.

> Invalid test for str() for SQL Server and Sybase
> ------------------------------------------------
>
>                 Key: HHH-3670
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3670
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>            Reporter: Gail Badner
>            Assignee: Gail Badner
>             Fix For: 3.2.x, 3.3.x, 3.4
>
>
> The test for str() is invalid for SQL Server and Sybase because for those dialects:
> - there are 2 optional parameters to control number of characters for decimal plus decimal values (default is 0) and the total length of the field (default is 10)
> - value is right-justified
> The query currently used for ASTParserLoadingTest.testStr() uses the default for the optional values, so null is returned for Sybase and SQL Server.
> The query should be changed so that results are returned for all dialects, and checks are made that are appropriate to the dialect.

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