Class ResultMappingException

All Implemented Interfaces:
Serializable

public class ResultMappingException extends JdbcException
Thrown to indicate that all properties in an entity are not mapped to columns in a result set.
See Also:
  • Field Details

    • entityClassName

      protected final String entityClassName
    • unmappedPropertyNames

      protected final List<String> unmappedPropertyNames
    • expectedColumnNames

      protected final List<String> expectedColumnNames
    • kind

      protected final SqlKind kind
    • rawSql

      protected final String rawSql
    • formattedSql

      protected final String formattedSql
    • sqlFilePath

      protected final String sqlFilePath
  • Constructor Details

  • Method Details

    • getEntityClassName

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

      public List<String> getUnmappedPropertyNames()
      Returns the unmapped property names.
      Returns:
      the unmapped property names
    • getExpectedColumnNames

      public List<String> getExpectedColumnNames()
      Returns the expected column names.
      Returns:
      the expected column names
    • getKind

      public SqlKind getKind()
      Returns the SQL kind.
      Returns:
      the SQL kind
    • 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 string or null if it does not exist
    • getSqlFilePath

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