Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Objects used to create a connection  RSS feed

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.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!