All,

For a class called Analyse and its constructor Analyse which takes a Java JDBC Resultset object as an argument.

```
private Resultset analysisSet

public void Analyse(ResultSet queryResults)
{
    analysisSet = queryResults;
    queryResults.close();
}

public void doSomeStuff()
{
    analysisSet.next() //throws SQL Exception "Closed Resultset : next"
}

```

However if I comment out the "queryResults.close()" statement then it works fine?

Surely after I assign an object to equal another one they become mutually exclusive to one another?

If someone could explain whats happening here.