Add a public method callable by the client of the JavaBean. This method does the following:
1. Connects to the database.
2. Identifies the type of parameter to parse and set it in the SQL statement.
3. Executes the statement and loops the necessary number of times.
4. Counts the rows returned by the execution of the statement.
5. Fires the specified event when the number of rows is not 1.