[
https://issues.apache.org/jira/browse/JDO-844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Bouschen resolved JDO-844.
----------------------------------
Resolution: Fixed
> Add SampleReadQuery test methods with variables of type String
> --------------------------------------------------------------
>
> Key: JDO-844
> URL: https://issues.apache.org/jira/browse/JDO-844
> Project: JDO
> Issue Type: Improvement
> Components: tck
> Affects Versions: JDO 3.2.1
> Reporter: Michael Bouschen
> Assignee: Michael Bouschen
> Priority: Major
> Fix For: JDO 3.3
>
>
> A query variable of type String in a JDOQLTypedQuery must be declared using
> method
> {color:#000000}JDOQLTypedQuery{color}.variable. For variables of a
> persistence capable type there is a varaible method in teh genareted
> meta-model Q class e.g.
> {{{color:#0033b3} public static {color}{color:#000000}QEmployee
> {color}{color:#00627a}variable{color}({color:#000000}String name{color})}}
> For type String there is no such meta-model Q class, so method
> {color:#000000}JDOQLTypedQuery{color}.variable must be used.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)