• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help

 
satyabrat pati
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But it is giving compile time error.Writing that the class is not found.Again it also gives error
Connection c = DriverManager.getConnection(DBCONNECTION ,USERNAME,PASSWORD)
^ this point
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please don't post a new topic as a reply to an existing one. It makes the discussion very difficult to follow. And please, UseAMeaningfulSubjectLine.

OK. If the compiler is complaining about Connection then yes, you need to import java.sql.Connection.
[ March 28, 2007: Message edited by: Paul Sturrock ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic