[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-925) DetachedCriteria.createCriteria not working with alias

Diego Pires Plentz (JIRA) noreply at atlassian.com
Sat Sep 8 15:21:15 EDT 2007


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

Diego Pires Plentz updated HHH-925:
-----------------------------------

             Priority: Major  (was: Minor)
             Assignee: Diego Pires Plentz
          Environment: Oracle  (was: Hibernate 3.0.5, Oracle)
    Affects Version/s:     (was: 3.1 beta 2)
                           (was: 3.1 beta 1)
                           (was: 3.0.5)
                           (was: 3.0.4)
                           (was: 3.0.3)
                           (was: 3.0.2)
                           (was: 3.0.1)
                           (was: 3.0 final)
                           (was: 3.0 rc 1)
                           (was: 3.0 beta 4)
                           (was: 3.0 beta 3)
                           (was: 3.0 beta 2)
                           (was: 3.0 beta 1)
                           (was: 3.0 alpha)
                       3.2.5
        Fix Version/s: 3.2.6
          Component/s:     (was: core)
                       query-criteria

> DetachedCriteria.createCriteria not working with alias
> ------------------------------------------------------
>
>                 Key: HHH-925
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-925
>             Project: Hibernate3
>          Issue Type: Bug
>          Components: query-criteria
>    Affects Versions: 3.2.5
>         Environment: Oracle
>            Reporter: Felipe Cuozzo
>            Assignee: Diego Pires Plentz
>             Fix For: 3.2.6
>
>         Attachments: DetachedCriteria.patch
>
>   Original Estimate: 10 minutes
>  Remaining Estimate: 10 minutes
>
> DetachedCriteria.createCriteria(associationPath, alias) is calling the wrong Criteria.createCriteria method
> public DetachedCriteria createCriteria(String associationPath, String alias)
> throws HibernateException {
> 	return new DetachedCriteria( impl, criteria.createCriteria(associationPath) );
> }
> should be:
> public DetachedCriteria createCriteria(String associationPath, String alias)
> throws HibernateException {
> 	return new DetachedCriteria( impl, criteria.createCriteria(associationPath, alias) );
> }

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