@Override public long getLong(int parameterIndex) throws SQLException { return delegate.getLong(parameterIndex); }
@Override public long getLong(String parameterName) throws SQLException { return delegate.getLong(parameterName); }
public long getLong(String parameterName) throws SQLException { return cstmt.getLong(parameterName); }
public long getLong(int parameterIndex) throws SQLException { return cstmt.getLong(parameterIndex); }
@Override public long getLong(int parameterIndex) throws SQLException { try { return stmt.getLong(parameterIndex); } catch (Throwable t) { throw checkException(t); } }
@Override public long getLong(String parameterName) throws SQLException { try { return stmt.getLong(parameterName); } catch (Throwable t) { throw checkException(t); } }
@Override protected X doExtract(CallableStatement statement, String name, WrapperOptions options) throws SQLException { return javaTypeDescriptor.wrap( statement.getLong( name ), options ); } };
@Override public Object[] getResult(CallableStatement cs, int columnIndex) throws SQLException { return toArray(cs.getLong(columnIndex)); }
@Override protected X doExtract(CallableStatement statement, int index, WrapperOptions options) throws SQLException { return javaTypeDescriptor.wrap( statement.getLong( index ), options ); }
public long getLong(final int index) { try { return statement.getLong(index); } catch (SQLException sex) { throw newGetParamError(index, sex); } }
@Override public long callableStatement_getLong(CallableStatementProxy statement, String parameterName) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getLong(this, statement, parameterName); } return statement.getRawObject().getLong(parameterName); }
@Override public long callableStatement_getLong(CallableStatementProxy statement, int parameterIndex) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getLong(this, statement, parameterIndex); } return statement.getRawObject().getLong(parameterIndex); }
public long[] getAllLong(final String param) { final int[] positions = query.getNamedParameterIndices(param); final long[] result = new long[positions.length]; try { for (int i = 0; i < positions.length; i++) { result[i] = statement.getLong(positions[i]); } return result; } catch (SQLException sex) { throw newGetParamError(param, sex); } }
public long getLong(final String param) { final int[] positions = query.getNamedParameterIndices(param); try { if (positions.length == 1) { return statement.getLong(positions[0]); } throw newGetParamError(param); } catch (SQLException sex) { throw newGetParamError(param, sex); } }
return stmt.getInt(position); case Types.BIGINT: return stmt.getLong(position); case Types.TIMESTAMP: case Types.TIME:
@Override public Long getNullableResult(CallableStatement cs, int columnIndex) throws SQLException { return cs.getLong(columnIndex); } }
@Override public Long getNullableResult(CallableStatement cs, int columnIndex) throws SQLException { long result = cs.getLong(columnIndex); return result == 0 && cs.wasNull() ? null : result; } }
@Override public long getLong(int parameterIndex) throws SQLException { try { return stmt.getLong(parameterIndex); } catch (Throwable t) { throw checkException(t); } }
@Override public long callableStatement_getLong(CallableStatementProxy statement, String parameterName) throws SQLException { if (this.pos < filterSize) { return nextFilter().callableStatement_getLong(this, statement, parameterName); } return statement.getRawObject().getLong(parameterName); }