openjpa-users mailing list archives

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

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.

Mime
View raw message