This document describes steps needed (or advised) to be made when upgrading to Cocoon Databases 1.0.x.
If you want to migrate your datasources to Spring beans but still need them in Avalon components (like SQLTransformer) take a look at Databases Bridge.
Loading of driver class
Thanks to new features of Cocoon 2.2 there is no need to patch web.xml file. In order to load driver class create file databases-drivers.properties in META-INF/cocoon/properties with following contents:
And that's all! Cocoon will discover this file and load driver automatically.