Package org.firebirdsql.jdbc
Class Jdbc42VersionSupport
java.lang.Object
org.firebirdsql.jdbc.Jdbc42VersionSupport
- All Implemented Interfaces:
JdbcVersionSupport
JDBC 4.2 version support.
- Since:
- 3.0
- Author:
- Mark Rotteveel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateBatchUpdateException(String reason, String SQLState, int vendorCode, long[] updateCounts, Throwable cause) Constructs aBatchUpdateException.
-
Constructor Details
-
Jdbc42VersionSupport
public Jdbc42VersionSupport()
-
-
Method Details
-
createBatchUpdateException
public BatchUpdateException createBatchUpdateException(String reason, String SQLState, int vendorCode, long[] updateCounts, Throwable cause) Description copied from interface:JdbcVersionSupportConstructs aBatchUpdateException.For JDBC versions < 4.2, the
updateCountscan be converted to integers without taking overflow into account.- Specified by:
createBatchUpdateExceptionin interfaceJdbcVersionSupport- Parameters:
reason- A description of the errorSQLState- SQL state of the errorvendorCode- Vendor specific error code (use0if there is no specific error code)updateCounts- An array oflongupdate countscause- Underlying cause (may benull).- Returns:
- The created BatchUpdateException.
-