This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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?
Similar Threads
returning an int
another array problem
data mismatch error
Returning a 0 value error