|
Re: How can I use Hibernate, or OpenJPA with EclipseLink [message #376363 is a reply to message #376358] |
Thu, 17 July 2008 12:43 |
Eclipse User |
|
|
|
Originally posted by: luxspes.yahoo.com
Hi!
I am sorry to inform you that what you want is impossible, you can not use
EclipseLink and then Hibernate as the internal implementation of
EclipseLink, EcliseLink and Hiberante are both internal implementations of
JPA. Trying to use Hibernate as the internal implementation of EclipseLink
would be like trying to use Oracle as the internal implementation of
SqlServer (it just doesn't make sense)
In other words EclipseLink doesn't it use
TopLink as its default JPA implementation, EclipseLink is the new name for
the OpenSource version of TopLink. The "generic" part is precisely
javax.persistence_1.0.0.jar, and the specific pluggable (replaceble part)
is eclipselink.jar (or if you want to use Hibernate, then
hibernate-core.jar, hibernate-entitymanager.jar and
hibernate-annotations.jar).
And therefore you cannot use Hibernate with EclipseLink cache.
Regards,
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02855 seconds