This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
The moose likes Websphere and the fly likes Database connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Database connection" Watch "Database connection" New topic

Database connection

vasu maj
Ranch Hand

Joined: Jul 12, 2001
Posts: 396
How in WSAD do I change the database that I am connecting to? Is there a config or a properties file?



What a wonderful world!
vasu maj
Ranch Hand

Joined: Jul 12, 2001
Posts: 396
I am gettinig a driver not found SQLException. Where do I need to put the drivers at?

Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892

In my book begin by looking at chapter 8 around page 122 or so. Also, have you checked out the Redbooks on this topic yet?

[ May 13, 2004: Message edited by: Kyle Brown ]

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at for other WebSphere information.
MoonChinn Goh

Joined: Jul 25, 2002
Posts: 12
to set datasource:
open your application server test environment file(.wsi file),
there is a datasource tab.

database driver not found problem:
right click on your web application
select properties
choose Java build path from left panel
select Libraried tab on right panel
edit the DB2_DRIVER_PATH
I agree. Here's the link:
subject: Database connection
It's not a secret anymore!