[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [eclipselink-users] Programmatic ORDER BY API?
|
Tim,
what about this methods?
ReadAllQuery.addAscendingOrdering(String name)
ReadAllQuery.addDescendingOrdering(String name)
ReadAllQuery.addOrdering(Expression orderingExpression)
Is that what you're asking for, isn't it?
Thomas
----- Original Message ----
From: Tim Hollosy <hollosyt@xxxxxxxxx>
To: EclipseLink User Discussions <eclipselink-users@xxxxxxxxxxx>
Sent: Monday, October 13, 2008 6:57:40 PM
Subject: [eclipselink-users] Programmatic ORDER BY API?
Any plans on adding a programmatic way to set an Order By clause? My
current method is reflecting on property name then constructing SQL,
then adding the correct order by clause to the string *yuck*.
Are there plans to add this to v2 or does someone have a better idea?
I would like to get a Query or ReadAllQuery and have a standard way to
add an ORDER BY clause via entity property name string.
../tch
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users