Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6773449
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:40:11+00:00 2026-05-26T15:40:11+00:00

now i get java.sql.SQLException: No suitable driver found for jdbc:firebirdsql:embedded:f/test.fdb i included jaybird jars

  • 0

now i get java.sql.SQLException: No suitable driver found for jdbc:firebirdsql:embedded:f/test.fdb

i included jaybird jars with my project. please help me out
package util;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
import org.firebirdsql.gds.impl.GDSType;
import org.firebirdsql.management.FBManager;

public class FireBirdCreator {

    public FireBirdCreator() {
        FBManager manager = new FBManager(GDSType.getType("EMBEDDED"));

        try {
            manager.start();
            manager.createDatabase("f:/test.fdb", "sysdba", "masterkey");
            manager.stop();
        Connection bd = DriverManager.getConnection("jdbc:firebirdsql:embedded:f/test.fdb");
        Statement st = bd.createStatement();
        st.execute("create table if not exists 'TABLE1' ('name1' int, 'name2' text, 'name3' text);");
        st.execute("insert into 'TABLE1' ('name1', 'name2', 'name3') values (1, 'name1', 'name2'); ");
        st.execute("insert into 'TABLE1' ('name1', 'name2', 'name3') values (2, 'name3', 'name4'); ");
        st.execute("insert into 'TABLE1' ('name1', 'name2', 'name3') values (3, 'name5', 'name6');");
        ResultSet rs = st.executeQuery("select * from TABLE1");
        while (rs.next())
            {
                System.out.print  (rs.getString(1)+" ");
                System.out.print  (rs.getString(2)+" ");
                System.out.println(rs.getString(3));
            }
        } catch (Exception e) {
            System.out.println(e);
        }
    }

    public static void main(String args[]) {
        FireBirdCreator fbc = new FireBirdCreator();
    }
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T15:40:11+00:00Added an answer on May 26, 2026 at 3:40 pm

    The error message indicates that the file does not exist. The fact that it shows ‘null’ instead of the actual filename might be a mismatch between embedded version and Jaybird version.

    To create a database you need to use the following code (and handle the exceptions it throws in a correct manner):

    FBManager manager = new FBManager(GDSType.getType("EMBEDDED"));
    manager.start();
    manager.createDatabase("database.fdb", "", "");
    manager.stop();
    

    Also be aware that the DDL you are using to create the table is not valid Firebird SQL. You will need to use RECREATE TABLE and Firebird does not have a type called text.

    Full disclosure: I am one of the developers of Jaybird (the Firebird JDBC driver).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

It doesn't seem to be working right now. I get a java.lang.NullPointerException I have
i used java reflections to get methods from a class(loaded those classes).Now i want
I've been dabbling with socket servers in Java and now I'm ready to get
Ok - I found the driver version that goes with the database.. however now
We need to be able to get the associated java.sql.Connection of a hibernate session.
I have a function to get JDBC metadata through clojure-sql (ns relink (:require [clojure.contrib.sql
When I use DateTime.Now I get the date and time from the server point
I have been trying to days now to get this website completed ... however,
I have this code right now to get the row value from jquery grid..
I have been using a SAX parser for a while now to get data

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.