com.sap.cds.jdbc.h2.H2ExceptionAnalyzer Maven / Gradle / Ivy
/*******************************************************************
* © 2020 SAP SE or an SAP affiliate company. All rights reserved. *
*******************************************************************/
package com.sap.cds.jdbc.h2;
import java.sql.SQLException;
import com.sap.cds.jdbc.generic.GenericExceptionAnalyzer;
public class H2ExceptionAnalyzer extends GenericExceptionAnalyzer {
@Override
public boolean isLockTimeout(SQLException ex) {
return ex.getErrorCode() == 50200;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy