Subject Re: [Firebird-Java] Using JCA-JDBC driver
Author Rick Fincher
Hi Stefan,

I just volunteered to rewrite the release notes for the Driver and I'm
working on that now. Watch this space for a first draft in a few days.

I struggled a little at first too. The stuff I used Interclient with worked
fine with this driver after changing the driver names and connection
parameters in the code.

I didn't have problems until I tried to use the built in connection pooling
and had difficulty finding info.

Roman's hint about looking at the client-java examples refers to
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/firebird/client-java/examples
/

This is in SourceForge's Firebird section. Look under cvs files, browse cvs
files to get there.

Download the short file DriverExample.java to see an example of what you are
doing.

Rick

----- Original Message -----
From: "stevohudac" <stevohudac@...>
To: <Firebird-Java@yahoogroups.com>
Sent: Friday, August 30, 2002 10:14 AM
Subject: [Firebird-Java] Using JCA-JDBC driver


> Hi guys,
>
> sorry to bother you with newbie problem, but I'm stuck. I developped
> small app to perform some stuff on FB through the InterClent. But my
> admin is not fond of installing more stuff (InterClient namely) on
> server so I try to swich to pure JCA_JDBC and offcourse I have a
> problems...
>
> What I did:
>
> I coppied content of zip file into JAVA_HOME/jre/lib/ext
>
> I wrote this program:
>
> import java.sql.*;
>
> public class Firebird {
>
> public static void main(String argv[]){
>
> // Load the FireBird driver.
> try {
> Class.forName
> ("org.firebirdsql.jdbc.FBDriver");
> System.out.println("Driver loaded.");
> } catch(ClassNotFoundException cnfe) {
> System.out.println
> ("org.firebirdsql.jdbc.FBDriver not found");
> return;
> }
> }
> }
>
> I'm using Java 1.4 SE JDK.
>
> After compiling I'm offcourse getting "not found" error. I spent some
> time browsing the mailing list. There are some hints, but I don't
> know whether it is relevant to JDK 1.4 SE.
>
> One suggestion. Few examples on IBPhoenix or Sourceforge Firebird
> website would take a load of newbies (as me) from mailinglist. There
> already is an example on Interclient...
>
> Thank you in advance.
>
> Stefan