[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-6748) Test failures due to inconsistent return type from COUNT(*) in native query
    Gail Badner (JIRA) 
    noreply at atlassian.com
       
    Wed Oct 19 16:30:19 EDT 2011
    
    
  
     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gail Badner resolved HHH-6748.
------------------------------
    Resolution: Fixed
Fixed in master.
> Test failures due to inconsistent return type from COUNT(*) in native query
> ---------------------------------------------------------------------------
>
>                 Key: HHH-6748
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6748
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: testsuite
>    Affects Versions: 4.0.0.CR4
>            Reporter: Gail Badner
>            Assignee: Gail Badner
>             Fix For: 4.0.0.next
>
>
> JoinedSubclassAndSecondaryTable.testSecondaryTableAndJoined() fails on Oracle, DB2, and MSSQL.
> Fix will be to cast result to Number, then call Number.longValue().
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
        
    
    
More information about the hibernate-issues
mailing list