Iam using ibatis in my project, with JBoss application server.


I have some taglibs from oracle which uploads ORDImages (Oracle specific objects) to the database

<ord:storeMedia >

These tags either need  a connection or datasource, passed as one of its argument to perform its task.

Those tags will take care of committing and closing the connections.


Q1. How do I get the connection from IBATIS?

Q2. How do I get the datasource from IBATIS?


            Any help will be very useful, thanks in advance.



Agilan Palani