Hi In the database we have a table PRSN_ADDRESS, which has many addresses. The user is shown these addresses in the grid. The request first displays the addresses associated with this user state, and then displays all other states.
For example, let's say that in the table are 10 entries with 5 addresses that have the status of Maryland, 2 from PA and 3 from NJ. Now, if the user is connected to Maryland, we need to show all 10 addresses, but the addresses in Maryland should appear in the first five, and then in the remaining 5 in any order.
We use Hibernate criteria. I have not worked on formulas and am not sure if this will help solve the problem. It would be great if someone could point me in the right direction. I appreciate it.
thank
Harish
Harry source
share