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#4149324

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149324
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to