Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Order of the closing JDBC Objects

843854Apr 16 2005 — edited Apr 16 2005
Is following the correct oder to close JDBC Object?
ResultSet.close();
PreparedStatement.close();
Connection.close();
Do we have to close
ResultSet
and
Statement
explicitly?

Reg,
Chetan
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 14 2005
Added on Apr 16 2005
1 comment
166 views