Class EntityDeleteAction

    • Constructor Detail

      • EntityDeleteAction

        public EntityDeleteAction​(Object id,
                                  Object[] state,
                                  Object version,
                                  Object instance,
                                  EntityPersister persister,
                                  boolean isCascadeDeleteEnabled,
                                  EventSource session)
        Constructs an EntityDeleteAction.
        Parameters:
        id - The entity identifier
        state - The current (extracted) entity state
        version - The current entity version
        instance - The entity instance
        persister - The entity persister
        isCascadeDeleteEnabled - Whether cascade delete is enabled
        session - The session
      • EntityDeleteAction

        public EntityDeleteAction​(Object id,
                                  EntityPersister persister,
                                  EventSource session)
        Constructs an EntityDeleteAction for an unloaded proxy.
        Parameters:
        id - The entity identifier
        persister - The entity persister
        session - The session