the problem is with some code that seems to me Spring is using to circumvent an issue with EclipseLink at least from what i can see from the comment in the code .