"jaikiran" wrote : You will first have to lookup the datasource using the JNDI
API. Then you can call the getConnection API on the DataSource. Just an example:
|
| | DataSource ds = (DataSource) new InitialContext().lookup("java:myDS");
| | ds.getConnection();
how can i make jnidi map to datasource?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198843#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...