O'Reilly logo

Spring Roo 1.1 Cookbook by Ashish Sarin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Converting non-OSGi JDBC drivers into OSGi-compliant bundles

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 addon create wrapper command and use it in database reverse engineering.

Getting ready

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 C:\roo-cookbook directory.

How to do it...

The following steps will demonstrate how to convert non-OSGi JDBC drivers into OSGi compliant ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required