All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sap.cds.jdbc.postgresql.PostgreSqlExceptionAnalyzer Maven / Gradle / Ivy

There is a newer version: 3.6.1
Show newest version
package com.sap.cds.jdbc.postgresql;

import java.sql.SQLException;

import com.sap.cds.jdbc.generic.GenericExceptionAnalyzer;

public class PostgreSqlExceptionAnalyzer extends GenericExceptionAnalyzer {

	private static final String LOCK_NOT_AVAILABLE = "55P03";

	@Override
	public boolean isLockTimeout(SQLException ex) {
		return LOCK_NOT_AVAILABLE.equals(ex.getSQLState());
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy