• Post Reply Bookmark Topic Watch Topic
  • New Topic

Objects used to create a connection

 
Kim Kantola
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am tryin to figure out some code that I have inherited, and am confused by this. It appears that the code makes a new poolableConnectionFactory object using a ConnectionFactory object which has url, username and password information. Where I get confused is that the poolableConnectionFactory object does not appear to be used. The PoolingDataSource object does not refer to it, or the url or username or password. And yet this code works, so I am guessing that it is something I do not understand. Any tips would be greatly appreciated.


Thanks!
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!