Hi Russ,
> I read you point about using positional parameters.
> I think what you are recommending is I use a dynamic
> query string instead of a positional query string as
> positional parameters are not allowed in
> NamedQueries by the Spec. Is this correct?
No, you can use either positional or named parameters in a named query. Where in the spec did you see this limitation? It is also a better practice to use NamedQueries.
thanks,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]
http://forums.java.net/jive/thread.jspa?messageID=232131