How to check if select query is returning more than one value in java
<p>I am executing a select query through preparedstatment, now I have to raise an exception in basis of if resultset contains more than one value,so my question is how to determine that rs is returning multiple values.?</p>
