[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2885) Criteria.uniquResult don't throw exception for unmapped class

6lackbird (JIRA) noreply at atlassian.com
Thu Oct 11 01:59:38 EDT 2007


Criteria.uniquResult don't throw exception for unmapped class
-------------------------------------------------------------

                 Key: HHH-2885
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2885
             Project: Hibernate3
          Issue Type: Bug
          Components: query-criteria
    Affects Versions: 3.2.4.sp1
            Reporter: 6lackbird


 Criteria selector = getSession().createCriteria(Integer.class);
        Integer count = (Integer) selector
                .setProjection(Projections.rowCount())
                .uniqueResult();

count = null



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