Example #1
0
 public void disconnect() {
   dbconnector.disconnect();
 }
Example #2
0
 public ConsumptionCtrl() {
   dbconnector = new DbConnector();
   conn = dbconnector.getConn();
   pstmt = dbconnector.getPstmt();
 }