title: iBatis 3 - JNDI configuration example
body: <p>The iBatis framework has been significantly tweaked between versions 2 &amp; 3, so much that even the config file (now often referred to as MapperConfig.xml) is different. </p>
  
  <p>That being said, there are lots of examples online on how to create a JDBC connection pool with iBatis, but I couldn't find one example on how to do it with JNDI. There is an updated user guide at: <a href="http://svn.apache.org/repos/asf/ibatis/java/ibatis-3/trunk/doc/en/iBATIS-3-User-Guide.pdf" rel="nofollow noreferrer">http://svn.apache.org/repos/asf/ibatis/java/ibatis-3/trunk/doc/en/iBATIS-3-User-Guide.pdf</a> which does refer to the JNDI settings on page 19, but I still couldn't it get it correctly communicate with the database. </p>
  
  <p>A working example of a JDNI (container managed connection pool) in iBatis 3 would be greatly appreciated!!</p>