File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Products » Websphere
Bookmark "Database connection" Watch "Database connection" New topic
Author

Database connection

vasu maj
Ranch Hand

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


Thanks,

Vasu


What a wonderful world!
vasu maj
Ranch Hand

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

Thanks,
Sudhakar
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
Sudhakar,

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?

Kyle
[ 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 http://www.kyle-brown.com/ for other WebSphere information.
MoonChinn Goh
Greenhorn

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: http://aspose.com/file-tools
 
subject: Database connection