Data adapters are objects that contain necessary information to access data and the logic for connection creation for jasper reports engine. This objects are portable between Jaspersoft Studio and Jaspersoft Server. For iReport users Data Adapters are similar to connections.
Data adapters are xml files, in Jaspersoft Studio this files usually are created by the user and stored in the project
with report (
.jrxml
) files and other resources. But we store a list of Data Adapters also in Eclipse workspace preferences, in this way users can reuse them in reports from all the projects.
Jaspersoft Studio offers all the actions to work with Data Adapters like create, delete, edit, duplicate or write new ones. To create a data adapter inside the project, go to → → → → and select the Data Adapter from the list, next page is specific for each data adapter type. In case of the Data Adapter stored in eclipse preferences go to Repository View and use action in the top right corner of the view, a similar wizard will popup.