[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2037?page=all ]
Steve Ebersole updated HHH-2037:
--------------------------------
Fix Version: 3.2.0.ga
Assign To: Steve Ebersole
Priority: Major (was: Critical)
provide Query.setProperties(Map)
--------------------------------
Key: HHH-2037
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2037
Project: Hibernate3
Type: Improvement
Versions: 3.2.0.cr4
Reporter: Max Rydahl Andersen
Assignee: Steve Ebersole
Fix For: 3.2.0.ga
makes sense to have it similar to what setProperties(object) does.
usecase is from drools that would like to do:
rule "test from using a global"
when
$cheese : Cheese() from session.getNamedQuery("thename").setProperties(
{"key1" => "value1", "key2" => "value2"
}).list()
then
System.out.println( list1 );
list1.add( $cheese );
end
Mark would actually rather prefer having a shorthand method for that longish method in
hibernate api, but that is another request ;)
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira