This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.
Unfortunately we will not be able to update to EclipseLink 2 in time for a Roo 1.0 release since EclipseLink 2 does actually depend on a JPA 2 API. An update to the JPA 2 API does require updates to Hibernate and OpenJPA which currently use the JPA 1 release. Hibernate 3 for example is not JPA 2 compliant.
So we will revisit this issue during the Roo 1.1 releases when we update to use JPA 2.
The EclipseLink 2.0 jar has been packaged in such a way as to eliminate any external dependency on the JPA 2.0 APIs. EclipseLink 2.0 should be fully functional in JPA 1.0 only servers. Are there issues specific to Spring that EclipseLink needs to take into account? What EclipseLink deliverables are you consuming?
Also, I remember my test indicated some CNFE issues for a Hibernate Validator class which we use as implementation for our use of JSR-303. The weird thing was that this issue does not seem to turn up when we used OpenJPA or Hibernate as ORM. Have you tested EclipseLink with JPA 1.0 in conjunction with Hibernate validator?
Please feel free to try it out with a Roo generated application. We are happy about any feedback here.
Thank you for the information.
Unfortunately due to package splitting limitations EclipseLink does not currently have a solution for running the EclipseLink 2.0 OSGi bundles against the javax.persistence 1.0 bundle. This is something EclipseLink should try and resolve.
I will look into the Validator issue. Someone else has reported something similar recently.
Thanks for offering some help here. Just let us know if we can help. In case you come across a solution it would be great if you could also comment on http://jira.springframework.org/browse/ROO-481 with your suggestions so it won't get lost.