Class EntityPropertyNotDefinedException

All Implemented Interfaces:
Serializable

public class EntityPropertyNotDefinedException extends JdbcException
Exception thrown when a property is referenced but not defined in an entity class.

This exception is typically thrown when attempting to access a property that exists in the entity class but is not properly defined as a persistent property (e.g., not annotated with Column or excluded from persistence).

See Also:
  • Constructor Details

    • EntityPropertyNotDefinedException

      public EntityPropertyNotDefinedException(String entityClassName, String entityPropertyName)
      Constructs a new exception with the specified entity class name and property name.
      Parameters:
      entityClassName - the fully qualified name of the entity class
      entityPropertyName - the name of the property that is not defined
  • Method Details

    • getEntityClassName

      public String getEntityClassName()
      Returns the fully qualified name of the entity class.
      Returns:
      the entity class name
    • getEntityPropertyName

      public String getEntityPropertyName()
      Returns the name of the property that is not defined.
      Returns:
      the entity property name