initial attempt for abstraction; druid works with Derby as default

fixed javadoc