Problem when executing in jasper ireport report

0

I have a Java GWT project, where I make an invoice, the whole process of saving and returning in the SQL DB works well, the problem is when in two or more terminals the sales process is executed simultaneously, since at the time of showing the data that will go on the printed invoices, always shows only the data of an invoice in all terminals.

My report is filled with a direct query in it, so just wait for the 2 parameters you need, that works fine, when it's just a terminal or non-simultaneous sales.

Does anyone know what is going on? Will that be my iReport version's problem? Has someone suffered the same?

waiting for your orientation

    
asked by Sergio Figueros 05.10.2018 в 01:38
source

1 answer

0

Those who are interested or suffer something similar, I commented that the project to be MVC, at the time of requesting the report, we call from the client's side, and this from an asynchronous class we returned the PDF file or any Another option, as I could solve is to create a direct servlet only for that module, so as to have a single interaction with the server, since in the initial way to 2 calls to the server and that's where it showed only one data packet in all terminals.

    
answered by 18.10.2018 в 20:40