📄 batchedtoomanyrowsaffectedexception.java
字号:
package org.hibernate.jdbc;
/**
* Much like {@link TooManyRowsAffectedException}, indicates that more
* rows than what we were expcecting were affected. Additionally, this form
* occurs from a batch and carries along the batch positon that failed.
*
* @author Steve Ebersole
*/
public class BatchedTooManyRowsAffectedException extends TooManyRowsAffectedException {
private final int batchPosition;
public BatchedTooManyRowsAffectedException(String message, int expectedRowCount, int actualRowCount, int batchPosition) {
super( message, expectedRowCount, actualRowCount );
this.batchPosition = batchPosition;
}
public int getBatchPosition() {
return batchPosition;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -