Class OptimisticLockException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BatchOptimisticLockException

public class OptimisticLockException extends JdbcException
Thrown to indicate that optimistic locking is failed.
See Also:
  • Field Details

    • 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
    • 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