Saturday, February 27, 2016

Order By Clause using Dynamic Query in Liferay


Today we will discuss about Order By Clause in Dynamic Query . Before reading this blog it is highly recommended to read my previous blog on introduction of dynamic query

Lets start with example:-

1)Order By descending



2)Order By ascending


OR 

You can also use PropertyFactoryUtil class for same operations. 

Example:-




Hope this will Help....

Related Post:-

No comments:

Post a Comment

Total Pageviews

Number Of Unique Visitor

Free counters!