Connecting to Databases : Example cont..
In the destroy() method disconnect from the database
public void destroy() {
super.destroy();
con.close();
}
Previous slide
Next slide
Back to first slide
View graphic version