79170805

Date: 2024-11-08 16:16:29
Score: 2.5
Natty:
Report link

Just create Statement 2 for ResultSet 2

Statement statement2 = connection.createStatement();

ResultSet resultSet2 = statement2.executeQuery("");

If you use Statement 1 for ResultSet 2, Connection is Closed Error comes.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Vivekraj Agathariruppu Pugalen