REST API with Java: Spring JPA & Apache Derby