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 -