@StableMinor(version="12.3", sinceVersion="4.2") public class PreAddEvent extends PersistenceEvent
Note: A persistence event may have been generated during a JPA entity lifecycle callback. In such situations, JPA limitations (such as the application should not access EntityManager, other entities, or change relations) apply.
Constructor and Description |
---|
PreAddEvent(SessionConfig sessionConfig,
Class<?> entityClass,
Collection<?> entities,
ITransaction transaction) |
PreAddEvent(SessionConfig sessionConfig,
Class<?> entityClass,
Object entity,
ITransaction transaction) |
getEntities, isBefore
getSessionConfig, getTransaction
getEventGroups, getOperationType, setEventGroups, setOperationType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public PreAddEvent(SessionConfig sessionConfig, Class<?> entityClass, Object entity, ITransaction transaction)
public PreAddEvent(SessionConfig sessionConfig, Class<?> entityClass, Collection<?> entities, ITransaction transaction)
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.