Sample code using PrimeFaces with MyBatis