Package org.firebirdsql.jdbc
Class Jdbc42VersionSupport
- java.lang.Object
- 
- org.firebirdsql.jdbc.Jdbc42VersionSupport
 
- 
- All Implemented Interfaces:
- JdbcVersionSupport
 
 public final class Jdbc42VersionSupport extends java.lang.Object implements JdbcVersionSupport JDBC 4.2 version support.- Since:
- 3.0
- Author:
- Mark Rotteveel
 
- 
- 
Constructor SummaryConstructors Constructor Description Jdbc42VersionSupport()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.sql.BatchUpdateExceptioncreateBatchUpdateException(java.lang.String reason, java.lang.String SQLState, int vendorCode, long[] updateCounts, java.lang.Throwable cause)Constructs aBatchUpdateException.
 
- 
- 
- 
Method Detail- 
createBatchUpdateExceptionpublic java.sql.BatchUpdateException createBatchUpdateException(java.lang.String reason, java.lang.String SQLState, int vendorCode, long[] updateCounts, java.lang.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 interface- JdbcVersionSupport
- Parameters:
- reason- A description of the error
- SQLState- SQL state of the error
- vendorCode- Vendor specific error code (use- 0if there is no specific error code)
- updateCounts- An array of- longupdate counts
- cause- Underlying cause (may be- null).
- Returns:
- The created BatchUpdateException.
 
 
- 
 
-