Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-10-2007, 01:02 AM
Senior Member
 
Join Date: Jun 2007
Posts: 164
Heather is on a distinguished road
java.sql.SQLException: No suitable driver
I have this code and it gives to me this exception
Code:
java.sql.SQLException: No suitable driver at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection (Unknown Source) at read.main(read.java:24) Exception in thread "main" public static final String DRIVER_NAME2 = ("org.firebirdsql.jdbc.FBDriver"); //public static final String DATABASE_URL2 = "jdbc:firebirdsql:localhost/3050:/firebird/names.gdb", "sysdba", "masterkey";
can you help me?
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-14-2007, 05:22 PM
Member
 
Join Date: Jul 2007
Posts: 36
boy22 is on a distinguished road
look into the Canvas class and draw your graph that way.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 07-14-2007, 06:11 PM
JavaBean's Avatar
Moderator
 
Join Date: May 2007
Posts: 1,272
JavaBean is on a distinguished road
Quote:
look into the Canvas class and draw your graph that way.
I don't think Heather's question is somewhat related to Canvas!!
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 07-14-2007, 06:39 PM
Member
 
Join Date: Jul 2007
Posts: 36
boy22 is on a distinguished road
hehe sorry about that
The right answer is that you should check the parameters of the connection, maybe there is some mistake. I had the same error and the problem was that I wrote the wrong parameters
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 08-01-2007, 12:53 PM
Member
 
Join Date: Jul 2007
Posts: 9
arfatkhan is on a distinguished road
Hi,

Have you included jar file required for loading your driver?
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver haneeshrawther Advanced Java 0 03-21-2008 02:13 PM
how to connet to MS SQL in java by using net.sourceforge.jtds.jdbc driver cambo Database 0 12-18-2007 07:07 PM
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver ljustiniano New To Java 4 08-06-2007 06:30 PM
java.sql.SQLException: Exhausted Resultset boy22 Database 1 08-02-2007 06:40 PM
SQLException: Unable to connect to any hosts due to exception simon Database 1 07-24-2007 12:58 AM


All times are GMT +3. The time now is 04:07 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org