assert (proc != null);
proc.run(conn, uid).close();
}
public void doInsertTweet(int uid, String text) throws SQLException {
InsertTweet proc = this.getProcedure(InsertTweet.class);
assert (proc != null);
Time time = new Time(System.currentTimeMillis());
try {
proc.run(conn, uid, text, time);
} catch (SQLException ex) {
System.err.println("uid=" + uid);
System.err.println("text=" + text);
System.err.println("time=" + time);
throw ex;