public static void main(String[] args) {
setupContext();
DoSQL me = new DoSQL();
String sql = join(args, " ");
HibernateTransactionManager htm = ContextManager.getTransactionManager();
TransactionDefinition transDef = new DefaultTransactionDefinition();
TransactionStatus transStatus = htm.getTransaction(transDef);
SessionFactory sf = ContextManager.getSessionFactory();
Session sess = sf.getCurrentSession();
SQLQuery q = sess.createSQLQuery(sql);
q.executeUpdate();
sess.flush();