Ales Justin [
http://community.jboss.org/people/alesj] commented on the document
"EJB3/JPA 2.0 support for AS7"
To view all comments on this document, visit:
http://community.jboss.org/docs/DOC-16271#comment-5156
--------------------------------------------------
We need to do more than just use the PersistenceProvider interface
properly for this to work.
Sure, that's why is used "...". ;-)
It should be strictly interfaces or some well defined api classes.
We also need to ensure the application classloader provided
Hibernate, can be used over the Hibernate version bundled with the AS.
If the
interfaces don't change much, it should be doable to some extent.
We should have a unit test for this as well. Maybe it could include
an old version of Hibernate EM and verify that it is used.
You can use the demo/test and enhance it a bit.
But it should be noted that this is not 100% to work,
some sort of compatibility matrix would be useful to have as a wiki entry.
--------------------------------------------------