« Return to Thread: Object Version in Eclipse Link

Re: Object Version in Eclipse Link

by Gordon Yorke-2 :: Rate this Message:

Reply to Author | View in Thread

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?
>  
_______________________________________________
eclipselink-users mailing list
eclipselink-users@...
https://dev.eclipse.org/mailman/listinfo/eclipselink-users

 « Return to Thread: Object Version in Eclipse Link