[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[News.eclipse.technology.eclipselink] Re: JPA and Shared Cache

The JPA EntityManager is more similar to the classical EclipseLink UnitOfWork than an EclipseLink Session, so it does make working copies of the shared cached objects.

However you can still access instances from the shared cache through JPA. There is a JPA query hint "eclipselink.return-shared" that gives you read-only objects from the shared cache.