code: @SuppressFBWarnings("NP_BOOLEAN_RETURN_NULL")
      public static Boolean getBoolean(final ResultSet rs, final int columnIndex) throws SQLException
      {
          final boolean res = rs.getBoolean(columnIndex);
          if (rs.wasNull()) {
              return null;
          } else {
              return res;
          }
      }
docs: Returns a Boolean or null if the column was null.