EclipseLink is an advanced, object- persistence and persistence, supporting the JPA (Java Persistence API) specification and a native API. Refer to the EclipseLink Documentation Center. Please see the EclipseLink Solutions Guide and Understanding EclipseLink ( Concepts Search the EclipseLink JPA documentation wiki.
|Published (Last):||12 February 2006|
|PDF File Size:||6.78 Mb|
|ePub File Size:||10.30 Mb|
|Price:||Free* [*Free Regsitration Required]|
Query on my database, so I know the connection works, but I can’t figure out where “session” comes from. A little help please? I have been having a terrible time trying to get EclipseLink to work, even though everyone says how great it is compared to Hibernate.
java – EclipseLink Document Doesn’t Explain “session” – Stack Overflow
Is EclipseLink worth my time and frustration, or should I just scrap it and try something like Hibernate instead? I suggest reading this. In EclipseLink, there’re differents kinds of sessions. Without going into the details, you can say that a session is something like a transaction.
So, like Hibernate, it relies on a proprietary engine and proprietary concepts or abstractions. That’s where JPA comes in. This doesn’t mean they removed proprietary features and, if you don’t mind not being portable, you can use them.
The posted link about Expressions is an example. If you want to use proprietary features, you’ll have to learn things about the underlying persistence engine. But this is subjective I guess and other people may have a different opinion I disagree, but as I said, this is subjective.
However, Hibernate is undoubtedly more popular and has rclipselink wider community, more tutorials, etc and I find their documentation very good. I don’t know on what you based your choice but, from a community support point of view, Hibernate definitely wins.
Just keep in mind that this doesn’t mean you won’t face frustration with Hibernate too: We are in the process of updating it to a much more usable JPA focused set of wiki pages. Can you let us know what you are trying to do and we can provide direct assistance or point you into the docs at the most appropriate content. Although I am enjoying the stackoverflow interface the EclipseLink Forum offers the most active support from the project’s committers. But I’d like to point out that wasted time and frustration when learning new technologies is just part of the job specification for a Software Engineer.
If you cannot take it, you should seriously consider a less demanding career.
In between this answer and the release of EclipseLink 2.
Introduction | EclipseLink x Java Persistence API (JPA) Extensions Reference
Pascal Thivent k Doug Clarke 2 6. Thanks for the info Doug! It is entirely up to you to judge whether it is “worth it” for docukentation. Stephen C k 69 Sign up or log in Sign up using Google.
Sign up using Facebook.
Sign up using Email and Password. Post as a guest Name.