4 Add the Hibernate ODA plug-ins to the launch configuration.
1 In Run Configurations, choose the Plug-ins tab.
2 In Launch with, from the drop-down list, select:
plug-ins selected below only
3 In Plug-ins, check the following plug-ins:
org.eclipse.birt.data.oda.hibernate
org.eclipse.birt.data.oda.hibernate.ui
5 Choose Run to launch the run-time workbench.
How to specify a data source and data set
1 In the run-time workbench, choose the Report Design perspective.
2 In Report Design, create a new report project and a new blank report.
3 In Report Design, choose Data➛New Data Source. In New Data Source, choose Create from a data source type in the following list, and select Hibernate Data Source as the data source type, as shown in Figure 25‑25. Choose Next.
Figure 25‑25 Selecting Hibernate Data Source
Hibernate Data Source appears.
4 In Hibernate Data Source, select the Hibernate configuration file and mapping directory or leave these items blank if you use the hibfiles directory, as shown in Figure 25‑26. Choose Finish.
Figure 25‑26 Configuring the Hibernate data source
Data Explorer displays the new data source in Data Sources.
5 In Report Design, choose Data➛New Data Set➛New Data Set. New Data Set appears, as shown in Figure 25‑27.