Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

How to verify whether the DB connection is established or not?

Options

How to check whether the DB connection is established or not?

How to establish DB2 db.? If we need to add jar files means where we need to add thatone??

Could any one please explain this one in detail??

Comments

  • OmarR
    OmarR Posts: 234 admin
    edited May 2017
    Options

    Good morning Sunil,

    You can validate a successful connection with a database by using a database data source and making a simple query to the db. You will need to add the appropriate jars to your JDBC Drivers preferences. I highly recommend doing a search for "database data source" in the documentation in Help>Help Contents. Please review this and give it a try.