Do I need to close ‘PreparedStatement’? [closed]

Yes, you have to close the prepared statements (PreparedStatement Object) and result sets as they may cause memory leakage.

For more information, see Using Prepared Statements.

Leave a Comment