In Spring when I use datasource as -
<bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryB
ean" destroy-method="close">
it gives me connection=null for first hit to database at second hit it works fine.
And, when I use datasource as -
there is no problem.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149324#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...