| Hi Sanne Grinovero, Yep, that did it. I've no idea why I had the get/set as final but it's been in my code since the start of the project several years ago. I think it was so none of the sub-classes could override it. I'm using JPA with hibernate orm and Spring and it was probably something I read somewhere without understanding the full implications. Anyway, single results now return an entity with populated values for id and other required values. Thanks, Jim. |