I need to include procedural code to get data from database.
Example: use for/while loops, if conditions, open and close "cursor" data, to create a program that runs and obtains results.
This result is used to fill the report fields.
How can I do?
How can I include the procedural code?
Posted on January 19, 2017 at 1:38pm
1. You can use scriplets where you can use Java jdbc to fetch some code and fill a field.
2. If you can also create your own datasource adapter.
3. Or you can just create a JavaBeans datasource.