Interface EntityImplementor

All Superinterfaces:
Entity, EntityReference
All Known Implementing Classes:
AbstractDirtyCheckingEntity, AbstractHibernateEntity, AbstractPojoEntity, AbstractSessionOnlyEntity

public interface EntityImplementor extends Entity
  • Method Details

    • markDeleted

      void markDeleted()
      Mark an entity as deleted. This can be used when an entity is deleted directly using a SQL or HQL query to synchronize the state of the entity with the database. This will cause that Entity.getState() will return Entity.State.PHANTOM. This is mainly used internally. Normally Entity.delete() should be used.