To use the data retrieved by the Hibernate ODA driver in a BIRT report design, you must extend the DTP design user interface. To implement the Hibernate ODA user interface, you extend the following extension points:
The dataSource extension point defines and implements the user interface for new data source and data set wizards. These wizards use the Hibernate ODA driver plug-in to extend the functionality available in the Data Explorer of BIRT Report Designer.
org.eclipse.ui.propertyPages
The propertyPages extension displays and manipulates the Hibernate configuration file and mapping files directory locations.
Would you like to create a 3.x rich client application?
No
5 In Templates, choose ODA Data Source Designer. Choose Next.
6 In ODA Data Source Designer, specify new values for the following options used to generate the Hibernate ODA user interface plug-in, as shown in Table 25‑18. Choose Finish.
Table 25‑18 Settings for the Hibernate ODA data source designer options
2 In Extensions, select the extension point, org.eclipse.datatools.connectivity.oda.design.ui.dataSource, and add the following elements and element details:
dataSourceUI extension element details for the newDataSourceWizard extension element, as shown in Table 25‑19.
Table 25‑19 Property settings for the Hibernate newDataSourceWizard extension element
4 In Extensions, select org.eclipse.ui.propertyPages, and add the ODA Hibernate Data Source Connection Properties (page) property and extension element details, as shown in Table 25‑23.
Table 25‑23 Property settings for the Hibernate page extension element
5 In Extensions, select ODA Hibernate Data Source Connection Properties (page), and add the filter property and extension element details, as shown in Table 25‑24.
Table 25‑24 Property settings for the Hibernate filter extension element
Property
Value
name
org.eclipse.datatools.profile.property.id
value
org.eclipse.birt.report.data.oda.hibernate
6 In Extensions, select org.eclipse.datatools.connectivity.connectionProfile, and add the following properties and element details: