Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] sessions vs entity manager

EntityManager is a Java Persistence API construct. It is the most commonly used API for new applications using EclipseLink. When you use an EntityManager, there are ClientSessions, ServerSessions, and UnitOfWorks beneath it that are managed by EclipseLink.

ClientSession/ServerSession are the EclipseLink specific classes. They are used by people using the EclipseLink proprietary API.

All functionality is available through both APIs.

I recommend using EntityManager due to the level of mindshare in the java community.

-Tom

sam8680 wrote:
What is the difference between using client/server sessions vs entity
manager? thanks


Back to the top