All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JBMSTours.inserters.InsertCountries

java.lang.Object
   |
   +----JBMSTours.inserters.InsertCountries

public class InsertCountries
extends Object
implements Inserters
InsertCountries is an "inserter" class for the Countries table. It is a good example of how to use a single PreparedStatement to insert multiple rows.


Constructor Index

 o InsertCountries()

Method Index

 o confirmInsert(Connection)
 o createSQLScript(Connection)
 o extractDataForReInsert(Connection)
 o insert(Connection)
 o prepareStatements(Connection)

Constructors

 o InsertCountries
 public InsertCountries()

Methods

 o insert
 public boolean insert(Connection conn) throws SQLException
 o prepareStatements
 public boolean prepareStatements(Connection conn) throws SQLException
 o confirmInsert
 public void confirmInsert(Connection conn) throws SQLException
 o extractDataForReInsert
 public void extractDataForReInsert(Connection conn) throws SQLException
 o createSQLScript
 public boolean createSQLScript(Connection conn) throws SQLException

All Packages  Class Hierarchy  This Package  Previous  Next  Index