This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Datasource question

 
Shankar Veerashetty
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What happens if a datasource is created with a id and a password and then an application developer gets a connection using
Connection conn = ds.getConnection("other_id","other_password") ;
Does it create a new pool of connections with this new id or gets a new connection everytime user requests for one?
Can anyone please explain what really happens here!!
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good question.I will have to try this :roll:
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is going to create a dynamic connection pool.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic