Changed mysql to derby db