Save This Page
Home » javassist3.9.GA » sample.example » [javadoc | source]
sample.example
abstract public class: Database [javadoc | source]
java.lang.Object
   sample.example.Database
Method from sample.example.Database Summary:
commit,   execute,   rollback,   select,   start
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sample.example.Database Detail:
  void commit() 
    Commit a transaction.
  void execute(String sql) throws IllegalArgumentException 
    Execute some SQL that modifies the database (UPDATE, INSERT, DELETE...).
  void rollback() 
    Rollback a transaction.
 Rows select(String sql) throws IllegalArgumentException 
    Execute some SQL that returns rows (SELECT...).
  void start() 
    Start a transaction.