openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Curtis <curti...@gmail.com>
Subject Re: [jira] [Created] (OPENJPA-1999) Optional support for non-sequential positional parameters
Date Thu, 26 May 2011 13:53:46 GMT
I somehow missing this email when you sent it originally.....  and we must
be smoking the same mushrooms because this the exact path that I went down.

On Fri, May 13, 2011 at 1:18 PM, <info@dvholten.de> wrote:

> hi folks,
> i am just following the discussion about the positional parameters.
> isnt it possible to think about positional parameters just as
> 'named-by-numbers' parameters?
> when its possible to use q.setParameter( "x", something ) and
> q.setParameter( "y", anotherthing )
> then i ( without smoking too many mushrooms ) can imagine that the 2 in
> q.setParameter( 2, whatever )
> is very similar to "2". So, the parameter index is not like an
> array-index, but like a key in a map.
> when you can handle named parameters, non-sequential index parameters
> shouldnt be too difficult ..
> - technically - what the standard says might another thing.
>
>
> hth
> dvh
>
>


-- 
*Rick Curtis*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message