Class UnknownColumnException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
UnknownColumnAdditionalInfoException

public class UnknownColumnException extends JdbcException
Thrown to indicate that there is the column that is unknown to an entity.
See Also:
  • Field Details

    • columnName

      protected final String columnName
    • expectedPropertyName

      protected final String expectedPropertyName
    • entityClassName

      protected final String entityClassName
    • kind

      protected final SqlKind kind
    • rawSql

      protected final String rawSql
    • formattedSql

      protected final String formattedSql
    • sqlFilePath

      protected final String sqlFilePath
  • Constructor Details

  • Method Details

    • getKind

      public SqlKind getKind()
      Returns the SQL kind.
      Returns:
      the SQL kind
    • getEntityClassName

      public String getEntityClassName()
      Returns the entity class name.
      Returns:
      the entity class name
    • getColumnName

      public String getColumnName()
      Returns the unknown column name.
      Returns:
      the unknown column name
    • getExpectedPropertyName

      public String getExpectedPropertyName()
      Returns the expected property name that is mapped to the unknown column name.
      Returns:
      the expected property name
    • getRawSql

      public String getRawSql()
      Returns the raw SQL string.
      Returns:
      the raw SQL string
    • getFormattedSql

      public String getFormattedSql()
      Returns the formatted SQL string
      Returns:
      the formatted SQL or null if this exception is thrown in the batch process
    • getSqlFilePath

      public String getSqlFilePath()
      Returns the SQL file path.
      Returns:
      the SQL file path or null if the SQL is auto generated