[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-1099) Using component instances as query parameter
Steve Ebersole (JIRA)
noreply at atlassian.com
Mon Mar 21 13:01:06 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Ebersole closed HHH-1099.
-------------------------------
Closing stale resolved issues
> Using component instances as query parameter
> --------------------------------------------
>
> Key: HHH-1099
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1099
> Project: Hibernate Core
> Issue Type: Improvement
> Components: core
> Reporter: Armin Haaf
> Priority: Minor
>
> class Component {
> String field1;
> String field2;
> }
> class MyClass {
> Component comp;
> }
> it would be nice to query like:
> select m from MyClass where m.comp=?
> and set a instance of Component as parameter. This should break down to:
> select m from MyClass where ( m.comp.field1=? and m.comp.field2=? )
> It's much easier to use and extensions to Component leads not to an change in the query.
--
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