程序包 org.hibernate
类 PessimisticLockException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- org.hibernate.JDBCException
-
- org.hibernate.PessimisticLockException
-
- 所有已实现的接口:
Serializable
public class PessimisticLockException extends JDBCException
Thrown when a pessimistic locking conflict occurs.- 作者:
- Scott Marlow
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 PessimisticLockException(String message, SQLException sqlException, String sql)Constructs a PessimisticLockException using the specified information.
-
方法概要
-
从类继承的方法 org.hibernate.JDBCException
getErrorCode, getSQL, getSQLException, getSQLState
-
-
-
-
构造器详细资料
-
PessimisticLockException
public PessimisticLockException(String message, SQLException sqlException, String sql)
Constructs a PessimisticLockException using the specified information.- 参数:
message- A message explaining the exception conditionsqlException- The underlying SQL exceptionsql- The sql that led to the exception (may be null, though usually should not be)
-
-