非原子批处理出现故障]使用 getNextException() 来检索已经过批处理的特定元素的异常。 ERRORCODE=-4229, SQLSTATE=null
捕获异常得利用SQLException的getNextException比较直观
try{
......
}catch(SQLException e){
log.error(e.getNextException());
}
非原子批处理出现故障]使用 getNextException() 来检索已经过批处理的特定元素的异常。 ERRORCODE=-4229, SQLSTATE=null
捕获异常得利用SQLException的getNextException比较直观
try{
......
}catch(SQLException e){
log.error(e.getNextException());
}