Class EntityFilterException

All Implemented Interfaces:
Serializable

public class EntityFilterException extends EntityNotFoundException
Thrown when a filter excludes an association target and its fetching strategy cannot preserve the stored reference while representing the association as null. For example, this can occur for an Any association.

Ordinary ManyToOne and OneToOne fetching retains the physical reference in the persistence context and represents the filtered association as null.

See Also:
  • Constructor Details

    • EntityFilterException

      public EntityFilterException(String entityName, Object identifier, String role)
  • Method Details

    • getEntityName

      public String getEntityName()
    • getIdentifier

      public Object getIdentifier()
    • getRole

      public String getRole()