Subject RE: [Firebird-Java] Re: problems with Class.forName
Author Harrison, Matthew
Thanks for the quick response guys. That worked
I added the jar files from the lib/ dir to my classpath
also I my imports now look like this:

import java.util.*;
import java.sql.*;
import org.firebirdsql.*;
import javax.sql.*;

it now works, so thanks a lot!

matt

-----Original Message-----
From: rrokytskyy [mailto:rrokytskyy@...]
Sent: Thursday, May 16, 2002 12:32 PM
To: Firebird-Java@yahoogroups.com
Subject: [Firebird-Java] Re: problems with Class.forName


> You just have to include the J2EE-jar to your classpath. This
> is a little bit ugly I think, because just for using JDBC 2.0
> there ist no functional need for any classes of J2EE. Perhaps
> there are others having a good explanation.

You do need all jar files that are in the lib/ directory. If you are
using beta version from SF download page, then you need additionally
javax.sql.* classes (JDBC 2.0 optional package from Sun). This
missing library is a known bug and will be fixed with the next beta
release.

javax.resource.* is needed for the core functionality. This driver is
JCA from the very beginning, therefore JCA packages are needed. There
is no way to use driver without JCA.

Best regards,
Roman Rokytskyy



To unsubscribe from this group, send an email to:
Firebird-Java-unsubscribe@yahoogroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/