openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pieter Pareit <>
Subject pre transactional state of a Persistence bean
Date Fri, 28 Aug 2009 14:47:22 GMT


I want to make a custom log & auditing system.
Therefor i want to know the pre transactional state of my Persistence Bean
I want to use it in my @PreUpdate

I'm migrating from hibernate to openJPA.
In hibernate the @PreUpdate had the information as argument.

-----  hibernate code --------------
public boolean onFlushDirty(Object entity, Serializable id,
	Object[] currentState, Object[] previousState,
	String[] propertyNames, Type[] types) throws CallbackException {


Thanks in advance,

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message