[ 
https://issues.apache.org/jira/browse/OPENJPA-2183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Albert Lee updated OPENJPA-2183:
--------------------------------

    Attachment: OPENJPA-2183.WAS8.jar

Here is a jar contains the related changes targeted for WAS 8.0.

This part has not been changed since 12/2010 so it is saved to use.  
- Save a copy of $WAS_HOME/plugins/com.ibm.ws.jpa.jar. 
- Replace the content of OPENJPA-2183.WAS8.jar to 
$WAS_HOME/plugins/com.ibm.ws.jpa.jar. .
- Make sure the META-INF/MANIFEST.MF is NOT changed.
- Once replace, refresh the osgi cache by "osgiCfgInit -all" before restart the 
server. 

If test is positive, I'll commit to trunk.

Albert Lee.
                
> 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