[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-746) Criteria query on "class" property

Andrew Ebaugh (JIRA) noreply at atlassian.com
Wed Aug 1 14:47:11 EDT 2007


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

Andrew Ebaugh updated HHH-746:
------------------------------

    Attachment: TypeEqualityExpression.java

Can be used as:
new TypeEqualityExpression("associatedproperty.class", MySublcassProperty.class)
in place of:
Expression.eq("associatedproperty.class", MySublcassProperty.class)

> Criteria query on "class" property
> ----------------------------------
>
>                 Key: HHH-746
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-746
>             Project: Hibernate3
>          Issue Type: Improvement
>          Components: core
>         Environment: 3.06, Oracle
>            Reporter: Cuong Tran
>            Assignee: Joshua Davis
>            Priority: Minor
>         Attachments: TypeEqualityExpression.java
>
>          Time Spent: 1 hour
>  Remaining Estimate: 0 minutes
>
> Currently, when using the "class" property on Criteria query, hibernate doesn't translate the value into the underlying discriminator.  See the discussion/test case here:
> http://opensource.atlassian.com/projects/hibernate/secure/CreateIssue.jspa

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