Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Database connection

 
vasu maj
Ranch Hand
Posts: 396
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How in WSAD do I change the database that I am connecting to? Is there a config or a properties file?


Thanks,

Vasu
 
vasu maj
Ranch Hand
Posts: 396
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am gettinig a driver not found SQLException. Where do I need to put the drivers at?

Thanks,
Sudhakar
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
MoonChinn Goh
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic