Type Reason Java.Sql.SQLException if an error occurs accessing the database.
Releases this statement's database and JDBC driver resources.
Using this method to release these resources as soon as possible is strongly recommended.
One should not rely on the resources being automatically released when finalized during garbage collection. Doing so can result in unpredictable behavior for the application.