Changed database to derby