Thread: J2SE 1.4 and other patches
Hi jdbcsters, I was just wondering if anyone is working on support for JDK1.4 for the postgresql drivers. It appears that there are some new methods defined in a few interfaces that need to be implemented (presumably to just throw the "unimplemented" exception?). If noone is already working in this then I am happy to look into it (though I can't promise to fix it, depends on time). Also, I have a patch for DatabaseMetaData to fix a bug in the metadata returned for BigDecimals. I have already tried to submit this patch 2 or 3 times (to peter@retep) but never heard back. It's only about 4 LOC but it makes introspecting the database much better. Is this the place to post a patch, and if I do, am I likely to get a response? Cheers! Mark
On 13 Oct 2001 11:16:07 +1000, you wrote: >I was just wondering if anyone is working on support for JDK1.4 for the >postgresql drivers. Not AFAIK. >It appears that there are some new methods defined >in a few interfaces that need to be implemented (presumably to just >throw the "unimplemented" exception?). Do you mean JDBC 3.0 methods? What methods precisely? Are they implementable? >Also, I have a patch for DatabaseMetaData to fix a bug in the metadata >returned for BigDecimals. I have already tried to submit this patch 2 or >3 times (to peter@retep) but never heard back. It's only about 4 LOC but >it makes introspecting the database much better. > >Is this the place to post a patch, and if I do, am I likely to get a >response? You can send patches to the pgsql-patches@postgresql.org list, preferably with a CC to this list. Yes, you will get a response. Usually, a patch is applied within a week (if the patch is good, of course). If a patch to the JDBC driver needs discussion first, that should be on this list. Regards, René Pijlman <rene@lab.applinet.nl>
I think what most needs to be done is for someone to update the build process, so people who want to hack code will have somewhere to start from. Rene Pijlman wrote: > On 13 Oct 2001 11:16:07 +1000, you wrote: > >>I was just wondering if anyone is working on support for JDK1.4 for the >>postgresql drivers. >> > > Not AFAIK. > > >>It appears that there are some new methods defined >>in a few interfaces that need to be implemented (presumably to just >>throw the "unimplemented" exception?). >> > > Do you mean JDBC 3.0 methods? What methods precisely? Are they > implementable? > > >>Also, I have a patch for DatabaseMetaData to fix a bug in the metadata >>returned for BigDecimals. I have already tried to submit this patch 2 or >>3 times (to peter@retep) but never heard back. It's only about 4 LOC but >>it makes introspecting the database much better. >> >>Is this the place to post a patch, and if I do, am I likely to get a >>response? >> > > You can send patches to the pgsql-patches@postgresql.org list, > preferably with a CC to this list. Yes, you will get a response. > Usually, a patch is applied within a week (if the patch is good, > of course). > > If a patch to the JDBC driver needs discussion first, that > should be on this list. > > Regards, > René Pijlman <rene@lab.applinet.nl> > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster > -- Joseph Shraibman jks@selectacast.net Increase signal to noise ratio. http://www.targabot.com
What do you see wrong with the build process? Ant is used to build the driver! Dave -----Original Message----- From: pgsql-jdbc-owner@postgresql.org [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Joseph Shraibman Sent: October 16, 2001 5:45 PM To: Rene Pijlman Cc: Mark Lillywhite (pg-jdbc); pgsql-jdbc@postgresql.org Subject: Re: [JDBC] J2SE 1.4 and other patches I think what most needs to be done is for someone to update the build process, so people who want to hack code will have somewhere to start from. Rene Pijlman wrote: > On 13 Oct 2001 11:16:07 +1000, you wrote: > >>I was just wondering if anyone is working on support for JDK1.4 for >>the postgresql drivers. >> > > Not AFAIK. > > >>It appears that there are some new methods defined >>in a few interfaces that need to be implemented (presumably to just >>throw the "unimplemented" exception?). >> > > Do you mean JDBC 3.0 methods? What methods precisely? Are they > implementable? > > >>Also, I have a patch for DatabaseMetaData to fix a bug in the metadata >>returned for BigDecimals. I have already tried to submit this patch 2 >>or 3 times (to peter@retep) but never heard back. It's only about 4 >>LOC but it makes introspecting the database much better. >> >>Is this the place to post a patch, and if I do, am I likely to get a >>response? >> > > You can send patches to the pgsql-patches@postgresql.org list, > preferably with a CC to this list. Yes, you will get a response. > Usually, a patch is applied within a week (if the patch is good, of > course). > > If a patch to the JDBC driver needs discussion first, that should be > on this list. > > Regards, > René Pijlman <rene@lab.applinet.nl> > > ---------------------------(end of > broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster > -- Joseph Shraibman jks@selectacast.net Increase signal to noise ratio. http://www.targabot.com ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org
FYI To see what's new: http://java.sun.com/j2se/1.4/docs/relnotes/features.html#jdbc -- Joseph Shraibman jks@selectacast.net Increase signal to noise ratio. http://www.targabot.com
Right. And a maintainer needs to make a jdbc3 direcotry and modifiy the ant files to use it when it detects a jdk of 1.4+ Dave Cramer wrote: > What do you see wrong with the build process? > > Ant is used to build the driver! > > Dave > > -----Original Message----- > From: pgsql-jdbc-owner@postgresql.org > [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Joseph Shraibman > Sent: October 16, 2001 5:45 PM > To: Rene Pijlman > Cc: Mark Lillywhite (pg-jdbc); pgsql-jdbc@postgresql.org > Subject: Re: [JDBC] J2SE 1.4 and other patches > > > I think what most needs to be done is for someone to update the build > process, so people > who want to hack code will have somewhere to start from. > > Rene Pijlman wrote: > > >>On 13 Oct 2001 11:16:07 +1000, you wrote: >> >> >>>I was just wondering if anyone is working on support for JDK1.4 for >>>the postgresql drivers. >>> >>> >>Not AFAIK. >> >> >> >>>It appears that there are some new methods defined >>>in a few interfaces that need to be implemented (presumably to just >>>throw the "unimplemented" exception?). >>> >>> >>Do you mean JDBC 3.0 methods? What methods precisely? Are they >>implementable? >> >> >> >>>Also, I have a patch for DatabaseMetaData to fix a bug in the metadata >>> > >>>returned for BigDecimals. I have already tried to submit this patch 2 >>>or 3 times (to peter@retep) but never heard back. It's only about 4 >>>LOC but it makes introspecting the database much better. >>> >>>Is this the place to post a patch, and if I do, am I likely to get a >>>response? >>> >>> >>You can send patches to the pgsql-patches@postgresql.org list, >>preferably with a CC to this list. Yes, you will get a response. >>Usually, a patch is applied within a week (if the patch is good, of >>course). >> >>If a patch to the JDBC driver needs discussion first, that should be >>on this list. >> >>Regards, >>René Pijlman <rene@lab.applinet.nl> >> >>---------------------------(end of >>broadcast)--------------------------- >>TIP 4: Don't 'kill -9' the postmaster >> >> > > -- Joseph Shraibman jks@selectacast.net Increase signal to noise ratio. http://www.targabot.com
Anyone can do that by submitting a patch. I don't see anything special that needs to be done. --Barry Joseph Shraibman wrote: > Right. And a maintainer needs to make a jdbc3 direcotry and modifiy the > ant files to use it when it detects a jdk of 1.4+ > > > Dave Cramer wrote: > >> What do you see wrong with the build process? >> >> Ant is used to build the driver! >> >> Dave >> >> -----Original Message----- >> From: pgsql-jdbc-owner@postgresql.org >> [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Joseph Shraibman >> Sent: October 16, 2001 5:45 PM >> To: Rene Pijlman >> Cc: Mark Lillywhite (pg-jdbc); pgsql-jdbc@postgresql.org >> Subject: Re: [JDBC] J2SE 1.4 and other patches >> >> >> I think what most needs to be done is for someone to update the build >> process, so people who want to hack code will have somewhere to start >> from. >> >> Rene Pijlman wrote: >> >> >>> On 13 Oct 2001 11:16:07 +1000, you wrote: >>> >>> >>>> I was just wondering if anyone is working on support for JDK1.4 for >>>> the postgresql drivers. >>>> >>>> >>> Not AFAIK. >>> >>> >>> >>>> It appears that there are some new methods defined >>>> in a few interfaces that need to be implemented (presumably to just >>>> throw the "unimplemented" exception?). >>>> >>>> >>> Do you mean JDBC 3.0 methods? What methods precisely? Are they >>> implementable? >>> >>> >>> >>>> Also, I have a patch for DatabaseMetaData to fix a bug in the metadata >>>> >> >>>> returned for BigDecimals. I have already tried to submit this patch >>>> 2 or 3 times (to peter@retep) but never heard back. It's only about >>>> 4 LOC but it makes introspecting the database much better. >>>> >>>> Is this the place to post a patch, and if I do, am I likely to get a >>>> response? >>>> >>>> >>> You can send patches to the pgsql-patches@postgresql.org list, >>> preferably with a CC to this list. Yes, you will get a response. >>> Usually, a patch is applied within a week (if the patch is good, of >>> course). >>> >>> If a patch to the JDBC driver needs discussion first, that should be >>> on this list. >>> >>> Regards, >>> René Pijlman <rene@lab.applinet.nl> >>> >>> ---------------------------(end of broadcast)--------------------------- >>> TIP 4: Don't 'kill -9' the postmaster >>> >>> >> >> > >
Ok, what specifically in jdbc 3.0 do people want implemented? All of the callable statement stuff is not applicable to postgres Dave -----Original Message----- From: pgsql-jdbc-owner@postgresql.org [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Barry Lind Sent: October 17, 2001 12:53 AM To: Joseph Shraibman Cc: Dave@micro-automation.net; pgsql-jdbc@postgresql.org Subject: Re: [JDBC] J2SE 1.4 and other patches Anyone can do that by submitting a patch. I don't see anything special that needs to be done. --Barry Joseph Shraibman wrote: > Right. And a maintainer needs to make a jdbc3 direcotry and modifiy > the > ant files to use it when it detects a jdk of 1.4+ > > > Dave Cramer wrote: > >> What do you see wrong with the build process? >> >> Ant is used to build the driver! >> >> Dave >> >> -----Original Message----- >> From: pgsql-jdbc-owner@postgresql.org >> [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Joseph >> Shraibman >> Sent: October 16, 2001 5:45 PM >> To: Rene Pijlman >> Cc: Mark Lillywhite (pg-jdbc); pgsql-jdbc@postgresql.org >> Subject: Re: [JDBC] J2SE 1.4 and other patches >> >> >> I think what most needs to be done is for someone to update the build >> process, so people who want to hack code will have somewhere to start >> from. >> >> Rene Pijlman wrote: >> >> >>> On 13 Oct 2001 11:16:07 +1000, you wrote: >>> >>> >>>> I was just wondering if anyone is working on support for JDK1.4 for >>>> the postgresql drivers. >>>> >>>> >>> Not AFAIK. >>> >>> >>> >>>> It appears that there are some new methods defined >>>> in a few interfaces that need to be implemented (presumably to just >>>> throw the "unimplemented" exception?). >>>> >>>> >>> Do you mean JDBC 3.0 methods? What methods precisely? Are they >>> implementable? >>> >>> >>> >>>> Also, I have a patch for DatabaseMetaData to fix a bug in the >>>> metadata >>>> >> >>>> returned for BigDecimals. I have already tried to submit this patch >>>> 2 or 3 times (to peter@retep) but never heard back. It's only about >>>> 4 LOC but it makes introspecting the database much better. >>>> >>>> Is this the place to post a patch, and if I do, am I likely to get >>>> a >>>> response? >>>> >>>> >>> You can send patches to the pgsql-patches@postgresql.org list, >>> preferably with a CC to this list. Yes, you will get a response. >>> Usually, a patch is applied within a week (if the patch is good, of >>> course). >>> >>> If a patch to the JDBC driver needs discussion first, that should be >>> on this list. >>> >>> Regards, >>> René Pijlman <rene@lab.applinet.nl> >>> >>> ---------------------------(end of >>> broadcast)--------------------------- >>> TIP 4: Don't 'kill -9' the postmaster >>> >>> >> >> > > ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/users-lounge/docs/faq.html
----- Original Message ----- From: "Dave Cramer" <Dave@micro-automation.net> Cc: <pgsql-jdbc@postgresql.org> Sent: Wednesday, October 17, 2001 1:29 PM Subject: Re: [JDBC] J2SE 1.4 and other patches > Ok, what specifically in jdbc 3.0 do people want implemented? I personally would like the java.sql.Blob.getBinaryStream() to actually return a Stream with content. Right now I havn´t got the time to investigate further, but code working against Oracle, returns -1 from the first read() from the stream when run agains pgsql. This is probably not the correct forum, but perhaps someone could forward this problem to initiated source Regards Per-Olof Norén
Who is this? ----- Original Message ----- From: Barry Lind <barry@xythos.com> To: Joseph Shraibman <jks@selectacast.net> Cc: <Dave@micro-automation.net>; <pgsql-jdbc@postgresql.org> Sent: Wednesday, October 17, 2001 10:22 AM Subject: Re: [JDBC] J2SE 1.4 and other patches > Anyone can do that by submitting a patch. I don't see anything special > that needs to be done. > > --Barry > > Joseph Shraibman wrote: > > > Right. And a maintainer needs to make a jdbc3 direcotry and modifiy the > > ant files to use it when it detects a jdk of 1.4+ > > > > > > Dave Cramer wrote: > > > >> What do you see wrong with the build process? > >> > >> Ant is used to build the driver! > >> > >> Dave > >> > >> -----Original Message----- > >> From: pgsql-jdbc-owner@postgresql.org > >> [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Joseph Shraibman > >> Sent: October 16, 2001 5:45 PM > >> To: Rene Pijlman > >> Cc: Mark Lillywhite (pg-jdbc); pgsql-jdbc@postgresql.org > >> Subject: Re: [JDBC] J2SE 1.4 and other patches > >> > >> > >> I think what most needs to be done is for someone to update the build > >> process, so people who want to hack code will have somewhere to start > >> from. > >> > >> Rene Pijlman wrote: > >> > >> > >>> On 13 Oct 2001 11:16:07 +1000, you wrote: > >>> > >>> > >>>> I was just wondering if anyone is working on support for JDK1.4 for > >>>> the postgresql drivers. > >>>> > >>>> > >>> Not AFAIK. > >>> > >>> > >>> > >>>> It appears that there are some new methods defined > >>>> in a few interfaces that need to be implemented (presumably to just > >>>> throw the "unimplemented" exception?). > >>>> > >>>> > >>> Do you mean JDBC 3.0 methods? What methods precisely? Are they > >>> implementable? > >>> > >>> > >>> > >>>> Also, I have a patch for DatabaseMetaData to fix a bug in the metadata > >>>> > >> > >>>> returned for BigDecimals. I have already tried to submit this patch > >>>> 2 or 3 times (to peter@retep) but never heard back. It's only about > >>>> 4 LOC but it makes introspecting the database much better. > >>>> > >>>> Is this the place to post a patch, and if I do, am I likely to get a > >>>> response? > >>>> > >>>> > >>> You can send patches to the pgsql-patches@postgresql.org list, > >>> preferably with a CC to this list. Yes, you will get a response. > >>> Usually, a patch is applied within a week (if the patch is good, of > >>> course). > >>> > >>> If a patch to the JDBC driver needs discussion first, that should be > >>> on this list. > >>> > >>> Regards, > >>> René Pijlman <rene@lab.applinet.nl> > >>> > >>> ---------------------------(end of broadcast)--------------------------- > >>> TIP 4: Don't 'kill -9' the postmaster > >>> > >>> > >> > >> > > > > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/users-lounge/docs/faq.html
Don't you need execute cvs commands to add new files? I guess I don't know. Barry Lind wrote: > Anyone can do that by submitting a patch. I don't see anything special > that needs to be done. > > --Barry > > Joseph Shraibman wrote: > >> Right. And a maintainer needs to make a jdbc3 direcotry and modifiy >> the ant files to use it when it detects a jdk of 1.4+ >> >> >> Dave Cramer wrote: >> >>> What do you see wrong with the build process? >>> >>> Ant is used to build the driver! >>> >>> Dave >>> >>> -----Original Message----- >>> From: pgsql-jdbc-owner@postgresql.org >>> [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Joseph Shraibman >>> Sent: October 16, 2001 5:45 PM >>> To: Rene Pijlman >>> Cc: Mark Lillywhite (pg-jdbc); pgsql-jdbc@postgresql.org >>> Subject: Re: [JDBC] J2SE 1.4 and other patches >>> >>> >>> I think what most needs to be done is for someone to update the build >>> process, so people who want to hack code will have somewhere to start >>> from. >>> >>> Rene Pijlman wrote: >>> >>> >>>> On 13 Oct 2001 11:16:07 +1000, you wrote: >>>> >>>> >>>>> I was just wondering if anyone is working on support for JDK1.4 for >>>>> the postgresql drivers. >>>>> >>>>> >>>> Not AFAIK. >>>> >>>> >>>> >>>>> It appears that there are some new methods defined >>>>> in a few interfaces that need to be implemented (presumably to just >>>>> throw the "unimplemented" exception?). >>>>> >>>>> >>>> Do you mean JDBC 3.0 methods? What methods precisely? Are they >>>> implementable? >>>> >>>> >>>> >>>>> Also, I have a patch for DatabaseMetaData to fix a bug in the metadata >>>>> >>> >>>>> returned for BigDecimals. I have already tried to submit this patch >>>>> 2 or 3 times (to peter@retep) but never heard back. It's only about >>>>> 4 LOC but it makes introspecting the database much better. >>>>> >>>>> Is this the place to post a patch, and if I do, am I likely to get >>>>> a response? >>>>> >>>>> >>>> You can send patches to the pgsql-patches@postgresql.org list, >>>> preferably with a CC to this list. Yes, you will get a response. >>>> Usually, a patch is applied within a week (if the patch is good, of >>>> course). >>>> >>>> If a patch to the JDBC driver needs discussion first, that should be >>>> on this list. >>>> >>>> Regards, >>>> René Pijlman <rene@lab.applinet.nl> >>>> >>>> ---------------------------(end of >>>> broadcast)--------------------------- >>>> TIP 4: Don't 'kill -9' the postmaster >>>> >>>> >>> >>> >> >> > -- Joseph Shraibman jks@selectacast.net Increase signal to noise ratio. http://www.targabot.com
This really doesn't have anything to do with 1.4. If you think you have a bug, please send an email to the list with instructions on how to reproduce (and a test case showing the problem that could be compiled and run would be really great as well). Or even better get the source code and debug the problem and submit a patch. After all that is what open source projects are all about. thanks, --Barry Per-Olof Norén wrote: > ----- Original Message ----- > From: "Dave Cramer" <Dave@micro-automation.net> > Cc: <pgsql-jdbc@postgresql.org> > Sent: Wednesday, October 17, 2001 1:29 PM > Subject: Re: [JDBC] J2SE 1.4 and other patches > > > >>Ok, what specifically in jdbc 3.0 do people want implemented? >> > > I personally would like the java.sql.Blob.getBinaryStream() to actually > return a Stream with content. > Right now I havn´t got the time to investigate further, but code working > against Oracle, returns -1 from the first read() from the stream when run > agains pgsql. > This is probably not the correct forum, but perhaps someone could forward > this problem to initiated source > > Regards > Per-Olof Norén > > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster > >
Joseph, To apply a patch you need to execute cvs commands. But to submit a patch you only need to send the diffs and new files to this list or the pgsql-patches email list. thanks, --Barry Joseph Shraibman wrote: > Don't you need execute cvs commands to add new files? I guess I don't > know. > > Barry Lind wrote: > >> Anyone can do that by submitting a patch. I don't see anything >> special that needs to be done. >> >> --Barry >> >> Joseph Shraibman wrote: >> >>> Right. And a maintainer needs to make a jdbc3 direcotry and modifiy >>> the ant files to use it when it detects a jdk of 1.4+ >>> >>> >>> Dave Cramer wrote: >>> >>>> What do you see wrong with the build process? >>>> >>>> Ant is used to build the driver! >>>> >>>> Dave >>>> >>>> -----Original Message----- >>>> From: pgsql-jdbc-owner@postgresql.org >>>> [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Joseph Shraibman >>>> Sent: October 16, 2001 5:45 PM >>>> To: Rene Pijlman >>>> Cc: Mark Lillywhite (pg-jdbc); pgsql-jdbc@postgresql.org >>>> Subject: Re: [JDBC] J2SE 1.4 and other patches >>>> >>>> >>>> I think what most needs to be done is for someone to update the build >>>> process, so people who want to hack code will have somewhere to >>>> start from. >>>> >>>> Rene Pijlman wrote: >>>> >>>> >>>>> On 13 Oct 2001 11:16:07 +1000, you wrote: >>>>> >>>>> >>>>>> I was just wondering if anyone is working on support for JDK1.4 >>>>>> for the postgresql drivers. >>>>>> >>>>>> >>>>> Not AFAIK. >>>>> >>>>> >>>>> >>>>>> It appears that there are some new methods defined >>>>>> in a few interfaces that need to be implemented (presumably to >>>>>> just throw the "unimplemented" exception?). >>>>>> >>>>>> >>>>> Do you mean JDBC 3.0 methods? What methods precisely? Are they >>>>> implementable? >>>>> >>>>> >>>>> >>>>>> Also, I have a patch for DatabaseMetaData to fix a bug in the >>>>>> metadata >>>>>> >>>> >>>>>> returned for BigDecimals. I have already tried to submit this >>>>>> patch 2 or 3 times (to peter@retep) but never heard back. It's >>>>>> only about 4 LOC but it makes introspecting the database much better. >>>>>> >>>>>> Is this the place to post a patch, and if I do, am I likely to get >>>>>> a response? >>>>>> >>>>>> >>>>> You can send patches to the pgsql-patches@postgresql.org list, >>>>> preferably with a CC to this list. Yes, you will get a response. >>>>> Usually, a patch is applied within a week (if the patch is good, of >>>>> course). >>>>> >>>>> If a patch to the JDBC driver needs discussion first, that should >>>>> be on this list. >>>>> >>>>> Regards, >>>>> René Pijlman <rene@lab.applinet.nl> >>>>> >>>>> ---------------------------(end of >>>>> broadcast)--------------------------- >>>>> TIP 4: Don't 'kill -9' the postmaster >>>>> >>>>> >>>> >>>> >>> >>> >> > >
Joseph Shraibman writes: > Right. And a maintainer needs to make a jdbc3 direcotry and modifiy the ant files to use > it when it detects a jdk of 1.4+ Couldn't the JDBC 3 stuff be implemented in the JDBC 2 driver as extension? The only reason we have a jdbc1 vs jdbc2 split is so that we can use jdk 1.2 functionality for the implementation of the JDBC 2 driver. So unless there is something in jdk 1.3 or 1.4 that is required or really useful for JDBC 3 we could probably avoid opening up yet another directory that always gets out of sync. -- Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter
Peter, Yes, that makes a lot of sense. One problem might exist with the sql.Types Jdk 1.4 probably defines extra types which won't be defined in jdk 1.3. Dave -----Original Message----- From: Peter Eisentraut [mailto:peter_e@gmx.net] Sent: October 18, 2001 1:41 PM To: Joseph Shraibman Cc: Dave@micro-automation.net; pgsql-jdbc@postgresql.org Subject: Re: [JDBC] J2SE 1.4 and other patches Joseph Shraibman writes: > Right. And a maintainer needs to make a jdbc3 direcotry and modifiy > the ant files to use it when it detects a jdk of 1.4+ Couldn't the JDBC 3 stuff be implemented in the JDBC 2 driver as extension? The only reason we have a jdbc1 vs jdbc2 split is so that we can use jdk 1.2 functionality for the implementation of the JDBC 2 driver. So unless there is something in jdk 1.3 or 1.4 that is required or really useful for JDBC 3 we could probably avoid opening up yet another directory that always gets out of sync. -- Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter
Peter, Yes, that makes a lot of sense. One problem might exist with the sql.Types Jdk 1.4 probably defines extra types which won't be defined in jdk 1.3. Dave -----Original Message----- From: Peter Eisentraut [mailto:peter_e@gmx.net] Sent: October 18, 2001 1:41 PM To: Joseph Shraibman Cc: Dave@micro-automation.net; pgsql-jdbc@postgresql.org Subject: Re: [JDBC] J2SE 1.4 and other patches Joseph Shraibman writes: > Right. And a maintainer needs to make a jdbc3 direcotry and modifiy > the ant files to use it when it detects a jdk of 1.4+ Couldn't the JDBC 3 stuff be implemented in the JDBC 2 driver as extension? The only reason we have a jdbc1 vs jdbc2 split is so that we can use jdk 1.2 functionality for the implementation of the JDBC 2 driver. So unless there is something in jdk 1.3 or 1.4 that is required or really useful for JDBC 3 we could probably avoid opening up yet another directory that always gets out of sync. -- Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter