small changes to DerbyDatabase to clear an error