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