• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is wrong?

 
Roberto Favaro
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone sort out my ammend and get OrderDetails Methods?



 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic