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

Gail Badner (JIRA) noreply at atlassian.com
Fri Dec 19 14:36:38 EST 2008


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