Updating Derby version and adding Equals and HashCode