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.
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