1
I am making a software in JSF (2.2), primefaces and JPA with the Postgres bank. I need to make a schedule of accounts to pay with the following columns and their data: Column before yesterday with the data: due date, supplier and value. Column yesterday with the data: due date, supplier and value. Column today with the data: due date, supplier and value. Column tomorrow with the data: due date, supplier and value. Column the day after tomorrow with data: due date, supplier and value.
These are various data from different queries. My question is how to perform these queries on a single datatable. How do I know which list to call in the columns.
Those are the doubts.
Are they the same object? Or for each column you made a different object?
– Rafael
You can bring everything in one query only, and put the respective data according as you want, it will probably be more of an object you will need popular.
– Jose Vieira Neto
So I didn’t get to do it because I didn’t know how to present this data. Dai wanted to see how I do to identify the column before yesterday has to receive this object the column yesterday has to receive this object and so on.
– Vinicius Gallo