Subject Re: connect would work better
Author Jean Noël Martin
--- In, Mark Rotteveel <Avalanche1979@...> wrote:
> On 22-10-2010 18:13, Jean Noël Martin wrote:
> > I thank you for the quick answer you provided
> >
> > First of all I use jaybird 2.1.6 I Dowloaded the source and the jar
> Which variant, JDK_1.4 or JDK_1.6?
I use the JDK 1.7, I can go the JDK 1.6
If you are using Java 6, you need the
> JDK_1.6 variant. You only need the jar, preferably the
> jaybird-full-2.1.6.jar; you should never need the sources if you are just using the driver.
??? NetBeans claim for defining the following import:
import org.firebirdsql.pool.FBConnectionPoolDataSource;
> > Second,as far as I understand the configuration Data I beleive that it's a problem of initializion of Jaybird. I noticed other not loaded data like "FBLog4j", and probabily I have not some data in the good folder.
> > Can you provide me with the configuration data that should available at the start of the driver and the folders where I have to submit them. I use NetBeans for EDI and I have organized the Jaybird data following the class name of the files eg: because NetBeans d'ont like the jaybird initial organization.
> What do you mean with this? Did you need to change the driver to get it
> work? Then you are probably doing something very wrong. NetBeans works just fine with Jaybird driver without making changes to the driver
> itself: Just add the driver to Tools, Libraries and add the Jaybird
> Library to your project.

OK, I followed the following steps Tools, Libraries and NewLibrary and Jaibird-2.1.6JDK81.6 pointing on the root directory of the distribution.
I was thinking that this information was a key. However, even following it it changed nothing i have always the folloing trow e= following the GDSType null is unknown.
> Starting the driver is as simple as (NOTE: I left out all imports,
> resource- and exception-handling)
> public class Example {
> public static void main(String[] args) {
> Class.forName("org.firebirdsql.jdbc.FBDriver");
> Connection con =
> DriverManager.getConnection("jdbc:firebirdsql://localhost/mydatabase",
> "sysdba", "masterkey");
> Statement stmt = con.createStatement();
> ResultSet rs = stmt.executeQuery("SELECT 'something' FROM
> // etcetera
> }
> }
> > Moreover i dont undertand what you would suggest refering
> Create a Short, Self Contained, Correct (Compilable), Example of your
> actual problem so that we can actually help you without guessing.
> describes how to create one.
OK I will try
> --
> Mark Rotteveel