Skip to content

rajendrakumaryadav/JasperProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

♤✪✪✪♤ Jasper Report Project with Java to Generate a Project. ♤✪✪✪♤

Build Status

Build Status

  • In this Project, I used simple Java and JDBC with MySQL.
  • Using Java, I am trying to generate PDF Report.
Map<String, Object> parameter = new HashMap<String, Object>();
JRBeanCollectionDataSource keywordCollectionDataSource = new JRBeanCollectionDataSource(keywordList);
parameter.put("KeywordsDataSource", keywordCollectionDataSource);
  • Main Section this KeywordsDataSource and it will be used in Jasper Design (jrxml).

  • Create a datasource with any name and set parameter.

$P{KeywordsDataSource}
  • Additionally, Also make field under parameters.
$F{name}
  • Please Check the code carefully alongwith the jrxml source.

  • Please check JasperReport.jrxml and JasperReportProject.java.

♤✪✪✪ Thanks for Checking this code. ✪✪✪♤

Code with ❤️️ by Rajendra Kumar R Yadav 😍😍