removed validationquery - doesnt work with derby