[ 
https://issues.apache.org/jira/browse/OPENJPA-2183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13290313#comment-13290313
 ] 

Albert Lee commented on OPENJPA-2183:
-------------------------------------

I committed the patch to trunk. If you need to get an fix for WAS, you will 
need to go through the IBM service channel to obtain the official fixpack.

BTW, can you paste the ClassCastException stack here for further investigation 
on this problem.

                
> Query hint "openjpa.hint.RelaxParameterTypeChecking" is reported to be 
> unsupported and is ignored
> -------------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-2183
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2183
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jpa
>    Affects Versions: 2.1.0, 2.1.1, 2.2.0
>         Environment: Websphere 8.0.3, openjpa-2.1.2-SNAPSHOT-r422266:1227818
>            Reporter: Peter Martinovic
>            Priority: Minor
>         Attachments: OPENJPA-2183.WAS8.jar, OPENJPA-2183.patch
>
>
> Setting 
> Query q = em.createQuery(qs);
> q.setHint("openjpa.hint.RelaxParameterTypeChecking", "true");
> results in 
> Warn: "openjpa.hint.RelaxParameterTypeChecking" is not a supported query 
> hint. May be you meant "openjpa.hint.ParameterMarkerInQuery"?
> I assume the reason is that the openjpa.hint.RelaxParameterTypeChecking hint 
> is not supported by any ProductDerivation and thus being refused in 
> org.apache.openjpa.persistence.HintHandler#record.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to