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!

difference between connection = null and connection.close()

843859Aug 5 2005 — edited Aug 6 2005
is it correct

connection = null means connection object is eligible for garbage collection and does not return to connection pool

and f or

connection.close() means the connection object return to the
connection pool

is there any other difference between this ....?????
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 3 2005
Added on Aug 5 2005
4 comments
2,331 views