Using the above code I display data from the testapp table based on some condition. In the same code I would like to add a row and display data. The data for this row should come from another table. In short I want to display data using search container from two different database tables. Is it possible to do? My requirement is such that data should come from two different database tables in the same display table

Basically I think it's not possible to make the join the way you want, but you could write your custom finder and use the joined results as input for the search container. At least, I would try to go this way.

Thanks Vilmos for your reply.Well even I was thinking the same because we provide the specific clasName.Including a search container within a search container gives a different display table altogether.

HiWrite pojo(model) class to display data from two table in single search container.ie create simple java class with instance variable, getters and setters.check the attached file for reference

1)In jsp, create new arraylist ex:ArrayList<RankingModel> developerRanking = new ArrayList<RankingModel>();2)loop through two list, from two different table..3)create object of pojo class.use setter to set the value. and finally add the pojo object in the list