public static ResultSet resultSetWithNull(Connection conn) throws SQLException {
  PreparedStatement statement=conn.prepareStatement("select null from system_range(1,1)");
  return statement.executeQuery();
}

public static ResultSet resultSetWithNull ( Connection conn ) throws SQLException { PreparedStatement statement = conn . prepareStatement ( "select null from system_range(1,1)" ) ; return statement . executeQuery ( ) ; }
this method is called via reflection from the database .
