[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1898) EntityQuery hints map is defined as <String, String> instead of <String, Object>
Mathias Walter (JIRA)
jira-events at lists.jboss.org
Mon Sep 21 10:50:49 EDT 2009
[ https://jira.jboss.org/jira/browse/JBSEAM-1898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12486636#action_12486636 ]
Mathias Walter commented on JBSEAM-1898:
----------------------------------------
You need not just a map of objects, you need a multimap of objects (i. e. Map<String, List<Object>>), because some hints (e. g. BATCH or FETCH) can be supplied more often.
> EntityQuery hints map is defined as <String, String> instead of <String, Object>
> --------------------------------------------------------------------------------
>
> Key: JBSEAM-1898
> URL: https://jira.jboss.org/jira/browse/JBSEAM-1898
> Project: Seam
> Issue Type: Bug
> Components: Framework
> Reporter: david castannon
> Fix For: The future
>
>
> EntityQuery hints map field is defined as <String, String> instead of <String, Object> used at hibernate method setHint of QueryImpl.
> So, if you want to set, e.g., "org.hibernate.cacheMode" hint with CacheMode.REFRESH jboss throws exception.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list