We're updating the issue view to help you get more done. 

@QueryHint( name="javax.persistence.cache.retrieveMode", value="<valid value>") does not work

Description

BaseQueryImpl.setHint(String hintName, Object value) expects that values for "javax.persistence.cache.retrieveMode" and "javax.persistence.cache.storeMode" are ENUMS. So, it is impossible to use these hints in @QueryHint because value in QueryHint can be only of type String.

Environment

None

Status

Assignee

Brett Meyer

Reporter

Henady

Components

Fix versions

Affects versions

4.3.0.Final

Priority

Trivial