In Chapter 3, Advanced JPA Support in Spring Roo we discussed that the database reverse engineering process of Roo requires the JDBC driver for the database to be available as an OSGi bundle. In this recipe, we'll look at how to convert H2 database's JDBC driver into a OSGi bundle using the
command and use it in database reverse engineering.
Download the H2 database bundled as a ZIP file from , and unzip it to the
C:\roo-cookbook\ directory. Extracting the H2 database ZIP file will create a directory named
h2 inside the
The following steps will demonstrate how to convert non-OSGi JDBC drivers into OSGi compliant ...