On Jul 16, 2007, at 10:07 AM, Mauricio Salatino wrote:

ok.. i'm very intrested ..
in reply to craig russell.. it will be very good if you tell us more
about this discussion..

Well, the process hasn't gotten to any level of detail. I expect that the EG will take what the major JPA implementations have done and standardize the functionality. Or they will take an abstraction like Patrick is talking about to produce a JPAQL string. There are advantages and disadvantages to both techniques.

I think the best thing for us is to discuss on this list and then try to influence the standard.

Craig

On 7/16/07, Patrick Linskey <[EMAIL PROTECTED]> wrote:
Hi,

Keep an eye open here... I'll post more about it soon.

-Patrick

On 7/16/07, Mauricio Salatino <[EMAIL PROTECTED]> wrote:
> so.. can i join to some team to talk about this and contribute? or
> there is no team about this topic?
>
> On 7/16/07, Patrick Linskey <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I've done a certain amount of work on this topic with a couple of
> > others, but haven't gotten anywhere final. I've got the beginnings of
> > a query builder API + implementation that generates JPQL strings,
> > which should be usable with any JPA implementation.
> >
> > I'm working with the others who have been involved to figure out where
> > to put the source for this; ideally, I'd like to put it somewhere
> > other than in org.apache.openjpa, since it just generates JPQL, so can
> > be used with any JPA provider.
> >
> > -Patrick
> >
> > On 7/16/07, Mauricio Salatino <[EMAIL PROTECTED]> wrote:
> > > do you know someone who has interest in this topic? i would like to
> > > contribute with this.. but if you know someone i can join us..
> > >
> > > On 7/16/07, Marc Prud'hommeaux <[EMAIL PROTECTED]> wrote:
> > > > Mauricio-
> > > >
> > > > I see what you mean. No, we currently do not have any simple way of > > > > building a query using an object-based API, a la TopLink's Expression
> > > > classes.
> > > >
> > > > It would probably be simple to create one that simply builds up the > > > > JPQL underneath, but to my knowledge no one has ever done this.
> > > >
> > > >
> > > > On Jul 16, 2007, at 9:18 AM, Mauricio Salatino wrote:
> > > >
> > > > > I know that i can do "select x from Entity x order by x.someField" but > > > > > i wanna know it there some methods in the API where i can use > > > > > Expressions like in TopLink Extensions.. to do the same ("select x from
> > > > > Entity x order by x.someField") but in this way:
> > > > > exp.addOrdering(exp.get("someField").ascending());
> > > > >
> > > > > again sorry for my english
> > > > >
> > > > > On 7/16/07, Marc Prud'hommeaux <[EMAIL PROTECTED]> wrote:
> > > > >>
> > > > >> Well, sorting is a standard part of the JPQL, which OpenJPA fully > > > > >> supports (e.g., "select x from Entity x order by x.someField"). See
> > > > >> http://openjpa.apache.org/docs/latest/manual/
> > > > >> manual.html#jpa_overview_meta_orderby
> > > > >>
> > > > >> Was there any specific functionality that you were looking for in the > > > > >> form of extensions? OpenJPA does extend the spec in many useful ways,
> > > > >> all of which should be covered in the documentation.
> > > > >>
> > > > >>
> > > > >>
> > > > >> On Jul 16, 2007, at 8:19 AM, Mauricio Salatino wrote:
> > > > >>
> > > > >> > Hi to all!
> > > > >> > this is my first question in this list...
> > > > >> > I wanna know if openJpa have extra funcionalities, like query
> > > > >> sorting?
> > > > >> > (like toplink extensions)
> > > > >> >
> > > > >> > Thanks
> > > > >> > PS: sorry for my english!
> > > > >> > --
> > > > >> > - Salatino Mauricio -
> > > > >>
> > > > >>
> > > > >
> > > > >
> > > > > --
> > > > > - Salatino Mauricio -
> > > >
> > > >
> > >
> > >
> > > --
> > >  - Salatino Mauricio -
> > >
> >
> >
> >
> > --
> > Patrick Linskey
> > 202 669 5907
> >
>
>
> --
>  - Salatino Mauricio -
>


--
Patrick Linskey
202 669 5907



--
- Salatino Mauricio -

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to