/** {@inheritDoc} */ @Override public long executeForLong(RpcRequest request) throws DataAccessException { Number number = executeForObject(Long.class, request); return (number != null ? number.longValue() : 0); }
/** {@inheritDoc} */ @Override public int executeForInt(RpcRequest request) throws DataAccessException { Number number = executeForObject(Integer.class, request); return (number != null ? number.intValue() : 0); }