permaculture playing cards
The moose likes Java in General and the fly likes What is wrong? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "What is wrong?" Watch "What is wrong?" New topic

What is wrong?

Roberto Favaro

Joined: Mar 23, 2004
Posts: 24
Can anyone sort out my ammend and get OrderDetails Methods?

ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
U cant call ' getConnection ' method like this .

DriverManager.getConnection(.....) // it will take some parameter like ur driver type ( thin/thick ) , username , password , database , table .

Before that u have to load the driver also .
Class.forName(.) // ur driver name .

try this , probably it will work .
I agree. Here's the link:
subject: What is wrong?
It's not a secret anymore!