Subject | Re: JayBird |
---|---|
Author | g868avx |
Post date | 2002-11-02T02:07:57Z |
George, all I did was to change the connect strings from the start of
the actual java code sample that comes with Jaybird. Here is the
snippet for connection:
public class DriverExample
{
public static void main (String args[]) throws Exception
{
String databaseURL
= "jdbc:firebirdsql:localhost/3050:c:/firebird/examples/employee.gdb";
String user = "sysdba";
String password = "masterkey";
String driverName = "org.firebirdsql.jdbc.FBDriver";
"
Assuming your connect string (URL,user,passsword) is like this (as
per the documentation), any other problem you have is either with
your Firebird installation, or it is a java problem. So, check your
Firebird installation with isql, or one of the 3rd party tools. If
that is ok, then you have a java problem.
I don't want to put you off using java. But it is hardly the place
of the developers of the Jaybird JDBC driver to instruct people in
the basics of java. There are many books and/or articles for that
(in bookshops and the internet).
If you have not already compiled any java class from the freely
available source code on the internet, then I suggest you do that.
the actual java code sample that comes with Jaybird. Here is the
snippet for connection:
public class DriverExample
{
public static void main (String args[]) throws Exception
{
String databaseURL
= "jdbc:firebirdsql:localhost/3050:c:/firebird/examples/employee.gdb";
String user = "sysdba";
String password = "masterkey";
String driverName = "org.firebirdsql.jdbc.FBDriver";
"
Assuming your connect string (URL,user,passsword) is like this (as
per the documentation), any other problem you have is either with
your Firebird installation, or it is a java problem. So, check your
Firebird installation with isql, or one of the 3rd party tools. If
that is ok, then you have a java problem.
I don't want to put you off using java. But it is hardly the place
of the developers of the Jaybird JDBC driver to instruct people in
the basics of java. There are many books and/or articles for that
(in bookshops and the internet).
If you have not already compiled any java class from the freely
available source code on the internet, then I suggest you do that.
--- In Firebird-Java@y..., " george smith"<grsmith1943@e...> wrote:
> On Thu, 31 Oct 2002 20:55:07 -0000 g868avx
> <knowledgeworks@k...> wrote:
>
> > >>Are the Java examples in the release notes
> > not adequate?
> >
> > Rick, I think the documentation that comes with
> > Jaybird should be
> > adequate to get most people off the ground. I
> > have very little
> > experience with Java and it worked fine for me
> > (far better than the
> > applet that comes with Interclient). I don't
> > think there was
> > anything that caused the slightest problem.
>
> I would be happy to accept your examples since
> it is apparent that it would not take you any
> time at all to explain the code, the paths and
> the classpaths needed.
>
> Thank you in advance.
> george