[jboss-user] [JNDI/Naming/Network] - Re: database connection error

mitali do-not-reply at jboss.com
Thu May 8 03:18:42 EDT 2008


"mitali" wrote : 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=4149326#4149326

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149326



More information about the jboss-user mailing list