org.apache.derby.client.am
Class Utils
- java.lang.Object
-
- org.apache.derby.client.am.Utils
-
public final class Utils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description Utils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static SqlExceptionaccumulateSQLException(SqlException latestException, SqlException accumulatedExceptions)static java.sql.SQLExceptionaccumulateSQLException(java.sql.SQLException latestException, java.sql.SQLException accumulatedExceptions)static intcomputeBigDecimalPrecision(java.math.BigDecimal decimal)static intgetSqlcodeFromSqlca(Sqlca sqlca)static booleanisSqlTypeNullable(int sqlType)static int[]squashLongs(long[] longs)Squash an array of longs into an array of ints
-
-
-
Method Detail
-
computeBigDecimalPrecision
public static int computeBigDecimalPrecision(java.math.BigDecimal decimal)
-
getSqlcodeFromSqlca
public static int getSqlcodeFromSqlca(Sqlca sqlca)
-
squashLongs
public static int[] squashLongs(long[] longs)
Squash an array of longs into an array of ints
-
accumulateSQLException
public static java.sql.SQLException accumulateSQLException(java.sql.SQLException latestException, java.sql.SQLException accumulatedExceptions)
-
accumulateSQLException
public static SqlException accumulateSQLException(SqlException latestException, SqlException accumulatedExceptions)
-
isSqlTypeNullable
public static boolean isSqlTypeNullable(int sqlType)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG