Executing a Query


A simple database transaction uses only one of the three execution methods in the Statement interface: The class SQLException provides information on a database access error or other errors.




      “Why do they lock gas station bathrooms?    
      Are they afraid someone will clean them?”    
      – George Carlin