Sorting of Programmatic or transient view object in Oracle ADF

Tip- to sort a transient view object

When we use transient View Object to store data to represent in UI or manipulate business logic.
We may need to sort these Transient ViewObjects based on certain attribute.Add this below code to represent sort data.

transVo.setSortBy("AttributeName");
transVo.setQueryMode(ViewObject.QUERY_MODE_SCAN_VIEW_ROWS);
transVo.executeQuery();

Happy coding with Vinay in Techartifact …..

Vinay

I am an Oracle ACE in Oracle ADF/Webcenter. Sr Java Consultant-working on Java/J2EE/Oracle ADF/Webcenter Portal/ content and Hibernate for several years. I'm an active member of the OTN JDeveloper/Webcenter forum. Passionate about learning new technologies. I am here to share my knowledge. Give your views and suggestion on [email protected] .

More Posts - Website

Follow Me:
TwitterLinkedInGoogle PlusYouTube