[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-2037) provide Query.setProperties(Map)

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Tue Aug 29 11:41:24 EDT 2006


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2037?page=all ]

Max Rydahl Andersen updated HHH-2037:
-------------------------------------

    Priority: Critical  (was: Major)

> 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
>     Priority: Critical

>
>
> 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.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list