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.

Reply via email to