You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by Pieter Pareit <pi...@easypay.be> on 2009/08/28 16:47:22 UTC

pre transactional state of a Persistence bean

Hi,

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,
Pieter



-- 
View this message in context: http://n2.nabble.com/pre-transactional-state-of-a-Persistence-bean-tp3535153p3535153.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.