9596979899100101102103104105
v = vendor(); s = c.createStatement(); v.beforeQuery(c); s.execute(query); v.afterQuery(c); v.beforeClose(c); s.close(); v.afterClose(c);