Customer Portal

Construct DBConnection from java.sql.DataSource?

Comments 1

  • Avatar
    avackova
    0
    Comment actions Permalink
    Hello,
    as you've written, database connection can be built in from properties or properties file. But there are two ways to connect to database: with jdbc driver or with data source. In the second case you need to provide jndi name; that means that properties or property file must contain at least one property - jndiName. Clover will find the data source when trying to connect to database.

Please sign in to leave a comment.