Create and export report from code

Stimulsoft Reports.JAVA discussion
Post Reply
alenlion
Posts: 2
Joined: Mon Apr 20, 2020 2:00 pm

Create and export report from code

Post by alenlion »

hi
I have a project in spring boot, I select data from database with hibernate and bind it to java class, I have .mrt file and I want to create a report bind data and export to pdf
without preview.
thanks.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Create and export report from code

Post by HighAley »

Hello,

It's possible to export the report without the preview.

Please, look at this sample
https://www.stimulsoft.com/en/samples/j ... -from-code

Thank you.
alenlion
Posts: 2
Joined: Mon Apr 20, 2020 2:00 pm

Re: Create and export report from code

Post by alenlion »

I see that example but at this code you load data from XML file but I want to fill data from java collection
Vadim
Posts: 363
Joined: Tue Apr 23, 2013 11:23 am

Re: Create and export report from code

Post by Vadim »

Hello.

Here is sample loading data with class database https://www.stimulsoft.com/en/samples/j ... in-runtime
Post Reply