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.

http://download.oracle.com/docs/cd/B32110_01/web.1013/b28218/hisus.htm for queries.

http://www.oracle.com/technology/products/ias/toplink/doc/1013/main/_html/descfg030.htm 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();

--Gordon

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

What is an equivalent of http://www.jboss.org/envers/ in eclipse link?


Back to the top