TransactionFactory transactionFactory = new JdbcTransactionFactory();
Environment environment = new Environment("development", transactionFactory, sql2o.getDataSource());
org.apache.ibatis.session.Configuration config = new org.apache.ibatis.session.Configuration(environment);
config.addMapper(MyBatisPostMapper.class);
SqlSessionFactory sqlSessionFactory = new SqlSessionFactoryBuilder().build(config);
session = sqlSessionFactory.openSession();
}
@Override
public void run(int input)
{