Thread: JDBC Download.

JDBC Download.

From
"Thys De Wet@iCommerce"
Date:
Can anyone please tell me wehere I can get the jdbc 7.1 jar .. <frustration>
I only seem to find the 7.0-1.2 jars .. </frustration>

Thanx
Thys de Wet


Re: JDBC Download.

From
Mark Rosa
Date:
same with me.

i would really love to get my hands on a precompiled jar file for 7.1,
both for jdbc2 and jdbc1 (especially for that one, after all the
problems that exist with it).

this would save a lot of discussion on the mailing list if someone
capable of it could incorporate all the patches mentioned by bruce and
others and generate the jar file for 7.1/jdbc1 .

if it is for the lack of hardware, i am happy to provide an account on a
red hat linux 7.0.9 and/or irix 6.5 machine for the task.
unfortunately i am not capable enough to incorporate the patches myself.
sorry.

ciao,
mark

--
-------------------------------------------------------------
Mark Rosa - Dipl. Arch. ETH
Etekt Inc.                                co-create your home
phone: ++41-1-4462-406              www: http://www.etekt.com
mobile: ++41-76-390 06 37           fax: ++49-89-244 35 64 08
email: rosa@etekt.com       www: http://www.yourcell.net/rosa
-------------------------------------------------------------

The information transmitted is intended only for the person
or entity to which it is addressed and may contain confi-
dential and/or privileged material. Any review, retrans-
mission, dissemination or other use of, or taking of any
action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.
If you received this in error, please contact the sender and
delete the material from any computer.


Another patch

From
"Dave Cramer"
Date:
Hopefully we can slip this in before 7.1.1

This patch fixes a bug which occurs when setObject(1,obj) is called and obj
is of type Object, and is null

Regards,

Dave

[root@ebox2 jdbc2]# diff PreparedStatement.java.orig PreparedStatement.java
517a518,521
>               if (null == x){
>                       setNull(parameterIndex,Types.OTHER);
>                       return;
>               }
568a573,576
>               if (null == x){
>                       setNull(parameterIndex,Types.OTHER);
>                       return;
>               }



Re: JDBC Download.

From
Bruce Momjian
Date:
> hi bruce,
>
> i'd be happy to generate the jar-files (at least for jdbc1, maybe also
> jdbc2), providing that you (or somebody else) include all the patches
> and provide me with the files to just hit compile it.
>
> i don't know my way around makefiles and ant (or xml in this case) to do
> any error handling. sorry.

You will not need to.  You will need to download the current CVS copy of
the sources, though.  The CVS will have all the patches in it when I am
done.  Do you have ANT there?  Seems that is the compile environment.


--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Re: JDBC Download.

From
Mark Rosa
Date:
hi bruce,

i'd be happy to generate the jar-files (at least for jdbc1, maybe also
jdbc2), providing that you (or somebody else) include all the patches
and provide me with the files to just hit compile it.

i don't know my way around makefiles and ant (or xml in this case) to do
any error handling. sorry.

ciao,
mark

> same with me.
>>  > i would really love to get my hands on a precompiled jar file for 7.1,
>> both for jdbc2 and jdbc1 (especially for that one, after all the
>> problems that exist with it).
>>  > this would save a lot of discussion on the mailing list if someone
>> capable of it could incorporate all the patches mentioned by bruce and
>> others and generate the jar file for 7.1/jdbc1 .
>>  > if it is for the lack of hardware, i am happy to provide an account on a
>> red hat linux 7.0.9 and/or irix 6.5 machine for the task.
>> unfortunately i am not capable enough to incorporate the patches myself.
>> sorry.
>
>  The bigger issue is that I have tons of JDBC patches sitting in:
>
>     http://candle.pha.pa.us/cgi-bin/pgpatches  These were on hold while we released 7.1.X.  Now that we are on 7.2,
> they are ready to be applied, and could generate a really nice jar file.
>
> Peter said he will look over them today.  Once they are applied, a new
> JAR should be generated for testing.  Peter usually does that, but his
> development machine is sometimes down.  Maybe someone else could
> generate it.


--
-------------------------------------------------------------
Mark Rosa - Dipl. Arch. ETH
Etekt Inc.                                co-create your home
phone: ++41-1-4462-406              www: http://www.etekt.com
mobile: ++41-76-390 06 37           fax: ++49-89-244 35 64 08
email: rosa@etekt.com       www: http://www.yourcell.net/rosa
-------------------------------------------------------------

The information transmitted is intended only for the person
or entity to which it is addressed and may contain confi-
dential and/or privileged material. Any review, retrans-
mission, dissemination or other use of, or taking of any
action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.
If you received this in error, please contact the sender and
delete the material from any computer.


Re: JDBC Download.

From
Bruce Momjian
Date:
> same with me.
>
> i would really love to get my hands on a precompiled jar file for 7.1,
> both for jdbc2 and jdbc1 (especially for that one, after all the
> problems that exist with it).
>
> this would save a lot of discussion on the mailing list if someone
> capable of it could incorporate all the patches mentioned by bruce and
> others and generate the jar file for 7.1/jdbc1 .
>
> if it is for the lack of hardware, i am happy to provide an account on a
> red hat linux 7.0.9 and/or irix 6.5 machine for the task.
> unfortunately i am not capable enough to incorporate the patches myself.
> sorry.

The bigger issue is that I have tons of JDBC patches sitting in:

    http://candle.pha.pa.us/cgi-bin/pgpatches

These were on hold while we released 7.1.X.  Now that we are on 7.2,
they are ready to be applied, and could generate a really nice jar file.

Peter said he will look over them today.  Once they are applied, a new
JAR should be generated for testing.  Peter usually does that, but his
development machine is sometimes down.  Maybe someone else could
generate it.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Re: JDBC Download.

From
"Dave Cramer"
Date:
Bruce, Mark,

I'll be happy to do the work on Mark's machine to build the jars if Mark
wants to give me an account

--dc--

----- Original Message -----
From: "Mark Rosa" <rosa@etekt.com>
To: "Bruce Momjian" <pgman@candle.pha.pa.us>
Cc: <pgsql-jdbc@postgresql.org>
Sent: Wednesday, May 09, 2001 9:55 AM
Subject: Re: [JDBC] JDBC Download.


> hi bruce,
>
> i'd be happy to generate the jar-files (at least for jdbc1, maybe also
> jdbc2), providing that you (or somebody else) include all the patches
> and provide me with the files to just hit compile it.
>
> i don't know my way around makefiles and ant (or xml in this case) to do
> any error handling. sorry.
>
> ciao,
> mark
>
> > same with me.
> >>  > i would really love to get my hands on a precompiled jar file for
7.1,
> >> both for jdbc2 and jdbc1 (especially for that one, after all the
> >> problems that exist with it).
> >>  > this would save a lot of discussion on the mailing list if someone
> >> capable of it could incorporate all the patches mentioned by bruce and
> >> others and generate the jar file for 7.1/jdbc1 .
> >>  > if it is for the lack of hardware, i am happy to provide an account
on a
> >> red hat linux 7.0.9 and/or irix 6.5 machine for the task.
> >> unfortunately i am not capable enough to incorporate the patches
myself.
> >> sorry.
> >
> >  The bigger issue is that I have tons of JDBC patches sitting in:
> >
> > http://candle.pha.pa.us/cgi-bin/pgpatches  These were on hold while we
released 7.1.X.  Now that we are on 7.2,
> > they are ready to be applied, and could generate a really nice jar file.
> >
> > Peter said he will look over them today.  Once they are applied, a new
> > JAR should be generated for testing.  Peter usually does that, but his
> > development machine is sometimes down.  Maybe someone else could
> > generate it.
>
>
> --
> -------------------------------------------------------------
> Mark Rosa - Dipl. Arch. ETH
> Etekt Inc.                                co-create your home
> phone: ++41-1-4462-406              www: http://www.etekt.com
> mobile: ++41-76-390 06 37           fax: ++49-89-244 35 64 08
> email: rosa@etekt.com       www: http://www.yourcell.net/rosa
> -------------------------------------------------------------
>
> The information transmitted is intended only for the person
> or entity to which it is addressed and may contain confi-
> dential and/or privileged material. Any review, retrans-
> mission, dissemination or other use of, or taking of any
> action in reliance upon, this information by persons or
> entities other than the intended recipient is prohibited.
> If you received this in error, please contact the sender and
> delete the material from any computer.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>
>


Re: JDBC Download.

From
"Dave Cramer"
Date:
I can generate it, or give you an account to a machine with an environment
that would work.

Dave
----- Original Message -----
From: "Bruce Momjian" <pgman@candle.pha.pa.us>
To: "Mark Rosa" <rosa@etekt.com>
Cc: <pgsql-jdbc@postgresql.org>
Sent: Wednesday, May 09, 2001 9:32 AM
Subject: Re: [JDBC] JDBC Download.


> > same with me.
> >
> > i would really love to get my hands on a precompiled jar file for 7.1,
> > both for jdbc2 and jdbc1 (especially for that one, after all the
> > problems that exist with it).
> >
> > this would save a lot of discussion on the mailing list if someone
> > capable of it could incorporate all the patches mentioned by bruce and
> > others and generate the jar file for 7.1/jdbc1 .
> >
> > if it is for the lack of hardware, i am happy to provide an account on a
> > red hat linux 7.0.9 and/or irix 6.5 machine for the task.
> > unfortunately i am not capable enough to incorporate the patches myself.
> > sorry.
>
> The bigger issue is that I have tons of JDBC patches sitting in:
>
> http://candle.pha.pa.us/cgi-bin/pgpatches
>
> These were on hold while we released 7.1.X.  Now that we are on 7.2,
> they are ready to be applied, and could generate a really nice jar file.
>
> Peter said he will look over them today.  Once they are applied, a new
> JAR should be generated for testing.  Peter usually does that, but his
> development machine is sometimes down.  Maybe someone else could
> generate it.
>
> --
>   Bruce Momjian                        |  http://candle.pha.pa.us
>   pgman@candle.pha.pa.us               |  (610) 853-3000
>   +  If your life is a hard drive,     |  830 Blythe Avenue
>   +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>
>


Re: JDBC Download.

From
"Dave Cramer"
Date:
Mark, Bruce,

Mark, don't hesitate to email me I can spend some time getting it to
compile, or whatever you need.

Dave
----- Original Message -----
From: "Mark Rosa" <rosa@etekt.com>
To: "Dave Cramer" <Dave@micro-automation.net>
Cc: "Bruce Momjian" <pgman@candle.pha.pa.us>; <pgsql-jdbc@postgresql.org>
Sent: Wednesday, May 09, 2001 10:42 AM
Subject: Re: [JDBC] JDBC Download.


> hi bruce, hi dave,
>
> i think i can do it.
> just tell me when you are ready and how to get the CVS . (any other tips
> are most welcome :)
>
> and i will try my best.
> if i can't make it, i will call on you, dave.
>
> ciao,
> mark
>
> ps: i am sitting in zurich, switzerland, so don't expect me to do the
> compilation at 23.00 us-time :)
> --
> -------------------------------------------------------------
> Mark Rosa - Dipl. Arch. ETH
> Etekt Inc.                                co-create your home
> phone: ++41-1-4462-406              www: http://www.etekt.com
> mobile: ++41-76-390 06 37           fax: ++49-89-244 35 64 08
> email: rosa@etekt.com       www: http://www.yourcell.net/rosa
> -------------------------------------------------------------
>
> The information transmitted is intended only for the person
> or entity to which it is addressed and may contain confi-
> dential and/or privileged material. Any review, retrans-
> mission, dissemination or other use of, or taking of any
> action in reliance upon, this information by persons or
> entities other than the intended recipient is prohibited.
> If you received this in error, please contact the sender and
> delete the material from any computer.
>
>


Re: JDBC Download.

From
Bruce Momjian
Date:
[ Charset ISO-8859-1 unsupported, converting... ]
> I can generate it, or give you an account to a machine with an environment
> that would work.


Woohoo, I just compiled it.  I downloaded ant, installed it, and 'gmake'
generated two JAR files:

    $ l jars
    total 125
    -rw-r--r--  1 root  wheel  34795 May  9 10:41 postgresql-examples.jar
    -rw-r--r--  1 root  wheel  93008 May  9 10:41 postgresql.jar

So I can do it all here.  This is using BSD/OS 4.2 and Sun's Java/jdk
1.2.

    java version "donn:01.02.00-14:56"
    Classic VM (build donn:01.02.00-14:56, native threads, nojit)

This made a jdbc2 version.  Can someone tell me how to force it to
generate a jdbc1 version?  I looked at build.xml.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Re: JDBC Download.

From
Mark Rosa
Date:
hi bruce, hi dave,

i think i can do it.
just tell me when you are ready and how to get the CVS . (any other tips
are most welcome :)

and i will try my best.
if i can't make it, i will call on you, dave.

ciao,
mark

ps: i am sitting in zurich, switzerland, so don't expect me to do the
compilation at 23.00 us-time :)
--
-------------------------------------------------------------
Mark Rosa - Dipl. Arch. ETH
Etekt Inc.                                co-create your home
phone: ++41-1-4462-406              www: http://www.etekt.com
mobile: ++41-76-390 06 37           fax: ++49-89-244 35 64 08
email: rosa@etekt.com       www: http://www.yourcell.net/rosa
-------------------------------------------------------------

The information transmitted is intended only for the person
or entity to which it is addressed and may contain confi-
dential and/or privileged material. Any review, retrans-
mission, dissemination or other use of, or taking of any
action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.
If you received this in error, please contact the sender and
delete the material from any computer.


Re: JDBC Download.

From
Mark Rosa
Date:
hi bruce,

jdbc2 was never the problem.
jdbc1 had/has all the bugs in it.

to force it, i think the best way would be to install jdk1.1.8 and
direct your java-home and path environment variables to it. this should
be all.
i don't know how to force ant to do it.

mark
--
-------------------------------------------------------------
Mark Rosa - Dipl. Arch. ETH
Etekt Inc.                                co-create your home
phone: ++41-1-4462-406              www: http://www.etekt.com
mobile: ++41-76-390 06 37           fax: ++49-89-244 35 64 08
email: rosa@etekt.com       www: http://www.yourcell.net/rosa
-------------------------------------------------------------

The information transmitted is intended only for the person
or entity to which it is addressed and may contain confi-
dential and/or privileged material. Any review, retrans-
mission, dissemination or other use of, or taking of any
action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.
If you received this in error, please contact the sender and
delete the material from any computer.


Re: JDBC Download.

From
Bruce Momjian
Date:
> hi bruce,
>
> jdbc2 was never the problem.
> jdbc1 had/has all the bugs in it.

Actually, jdbc1 has more problems, but jdbc2 also will have new features
once I get these patches applied.

> to force it, i think the best way would be to install jdk1.1.8 and
> direct your java-home and path environment variables to it. this should
> be all.
> i don't know how to force ant to do it.

OK, my stupid question is whether I need a new java/javac binary, or do
I just download the jdk?  My guess it that they go together, which is
bad because I never installed the java stuff.  It came with the OS.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Re: JDBC Download.

From
Peter Mount
Date:
At 10:49 09/05/01 -0400, Bruce Momjian wrote:
>[ Charset ISO-8859-1 unsupported, converting... ]
> > I can generate it, or give you an account to a machine with an environment
> > that would work.
>
>
>Woohoo, I just compiled it.  I downloaded ant, installed it, and 'gmake'
>generated two JAR files:

Yep, thats the beauty of ant - it doesn't take long at all

>This made a jdbc2 version.  Can someone tell me how to force it to
>generate a jdbc1 version?  I looked at build.xml.

You need to have JDK1.1.x installed and in your path rather than the JDK2
one. build.xml checks for the existence of some classes that exist only in
certain VM versions to determine which driver to use.

Peter