Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Object Version in Eclipse Link

EclipseLink has similar functionality that is not yet exposed through annotations or JPA. Here are some links to the TopLink user guides. Although this user guide is for TopLink the same functionality and Classes exist in EclipseLink just under different names. for queries. to have EclipseLink maintain revisions.

To get access to a ServerSession from JPA for acquiring a HistoricSession you can perform the following: JPAHelper.getEntityManager(em).getServerSession(); or JPAHelper.getEntityManagerFactory(emf).getServerSession();


Gaurav Malhotra wrote:
Aim:- To provide object versioning. Each table in the schema contain a column
called ObjectVersion

What is an equivalent of in eclipse link?

Back to the top