Source code for blog http://wuleicanada.github.io/blog/2014/08/18/sinatra-jboss-jdbc-activerecord/