statement caching link on jdbc page

Поиск
Список
Период
Сортировка
Искать

statement caching link on jdbc page

От:
Dave Cramer <pg@fastcrypt.com>
Дата:
Where is the best place to put the link to the statement caching driver ?

Dave

Re: statement caching link on jdbc page

От:
Kris Jurka <books@ejurka.com>
Дата:


On Mon, 1 Oct 2007, Dave Cramer wrote:

> Where is the best place to put the link to the statement caching driver ?
>

Not sure there's a great place at the moment.  What about adding an 
"Extras" section to the left side navigation, perhaps below downloads?  On 
the extras page you could have a brief description of available things and 
a link to the jdbccache project.  At the moment I'm not sure where that 
link would go though as the jdbccache project[1] is pretty bare.  Are you 
envisioning adding documentation on its configuration and use to the main 
jdbc website or to the jdbccache pgfoundry page[2]?

Kris Jurka

1) http://pgfoundry.org/projects/jdbccache
2) http://jdbccache.projects.postgresql.org/


Re: statement caching link on jdbc page

От:
Till Toenges <tt@kyon.de>
Дата:
Kris Jurka wrote:

>> Where is the best place to put the link to the statement caching driver ?
> 
> Not sure there's a great place at the moment.  What about adding an 
> "Extras" section to the left side navigation, perhaps below downloads?  

The download section is not particulary easy to understand at the 
moment, unless you already know which version you want. I thought about 
a different structure for it, and have some ideas. Will see that i get a 
dummy page done this evening, if you are interested.


Till

Re: statement caching link on jdbc page

От:
Kris Jurka <books@ejurka.com>
Дата:


On Tue, 2 Oct 2007, Till Toenges wrote:

> The download section is not particulary easy to understand at the moment, 
> unless you already know which version you want. I thought about a different 
> structure for it, and have some ideas. Will see that i get a dummy page done 
> this evening, if you are interested.
>

I'm not opposed to reorganizing, but please keep in mind that the site is 
generated by Apache Forrest, not hand coded html.  So changes should 
ideally work within that framework.

Kris Jurka

Re: statement caching link on jdbc page

От:
Dave Cramer <pg@fastcrypt.com>
Дата:
Kris Jurka wrote:
>
>
> On Mon, 1 Oct 2007, Dave Cramer wrote:
>
>> Where is the best place to put the link to the statement caching 
>> driver ?
>>
>
> Not sure there's a great place at the moment.  What about adding an 
> "Extras" section to the left side navigation, perhaps below 
> downloads?  On the extras page you could have a brief description of 
> available things and a link to the jdbccache project.  
That would be good, we need a link to the actual jar for downloading
> At the moment I'm not sure where that link would go though as the 
> jdbccache project[1] is pretty bare.  Are you envisioning adding 
> documentation on its configuration and use to the main jdbc website or 
> to the jdbccache pgfoundry page[2]?
>
Yes, the intent is to put documentation on the jdbccache page

Dave
> Kris Jurka
>
> 1) http://pgfoundry.org/projects/jdbccache
> 2) http://jdbccache.projects.postgresql.org/
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>

Re: statement caching link on jdbc page

От:
Kris Jurka <books@ejurka.com>
Дата:


On Tue, 2 Oct 2007, Dave Cramer wrote:

> Kris Jurka wrote:
>> 
>> 
>> On Mon, 1 Oct 2007, Dave Cramer wrote:
>> 
>>> Where is the best place to put the link to the statement caching driver ?
>>> 
>> 
>> Not sure there's a great place at the moment.  What about adding an 
>> "Extras" section to the left side navigation, perhaps below downloads?  On 
>> the extras page you could have a brief description of available things and 
>> a link to the jdbccache project. 
> That would be good, we need a link to the actual jar for downloading

I've put this up for the moment:

http://jdbc.postgresql.org/extras.html

Kris Jurka

Re: statement caching link on jdbc page

От:
Dave Cramer <pg@fastcrypt.com>
Дата:
Hey Kris,

Thanks!!

Dave

Kris Jurka wrote:
>
>
> On Tue, 2 Oct 2007, Dave Cramer wrote:
>
>> Kris Jurka wrote:
>>>
>>>
>>> On Mon, 1 Oct 2007, Dave Cramer wrote:
>>>
>>>> Where is the best place to put the link to the statement caching 
>>>> driver ?
>>>>
>>>
>>> Not sure there's a great place at the moment.  What about adding an 
>>> "Extras" section to the left side navigation, perhaps below 
>>> downloads?  On the extras page you could have a brief description of 
>>> available things and a link to the jdbccache project. 
>> That would be good, we need a link to the actual jar for downloading
>
> I've put this up for the moment:
>
> http://jdbc.postgresql.org/extras.html
>
> Kris Jurka
>
>

Re: statement caching link on jdbc page

От:
Till Toenges <tt@kyon.de>
Дата:
 

Download

About

Binary JAR file downloads of the JDBC driver are available here. Because Java is platform neutral it is a simple process of just downloading the appropriate JAR file and dropping it into your classpath. For this reason the focus here is on providing pre-built versions. If you are interested in compiling from source please see the cvs instructions.

Download Current Version

This JAR contains the current version of the driver. It supports all current versions of PostgreSQL, requires JDK 1.4 or newer and supports JDBC 3. Also contains support for SSL and javax.sql. For nominal JDBC 4 support see below in the version table.

PostgreSQL JDBC Driver, Version 8.2-506 JDBC 3

A number of extras and wrappers are available as well, for example a Statement Caching Wrapper and support for the COPY command. Download them from the Extras page.

Other Versions

Many other versions of this driver are available. This includes development versions, compatibility with older JDKs, the source and previous versions of the driver.

To determine which version of the JDBC driver to download you need to determine what server version you will be running against. In general it is best to pick a matching server and driver release, but there are some exceptions. Newer driver releases will get additional features and bug fixes that you may need. Much care is taken to make newer driver releases work against older servers, so if you are having a problem and suspect it is the driver's fault, don't hesitate to try out the latest release on an older server. The current development driver is known to work with all server versions back to, and including, 7.2.

To determine which JDBC version of the driver you want you need to look at the JDK version you are running.

  • JDK 1.1 - JDBC 1. Note that with the 8.0 release JDBC 1 support has been removed, so look to update your JDK when you update your server.
  • JDK 1.2, 1.3 - JDBC 2.
  • JDK 1.3 + J2EE - JDBC 2 EE. This contains additional support for javax.sql classes.
  • JDK 1.4, 1.5 - JDBC 3. This contains support for SSL and javax.sql, but does not require J2EE as it has been added to the J2SE release.
  • JDK 1.6 - JDBC4. Support for JDBC4 methods is limited. The driver builds, but the majority of new methods are stubbed out.

Complete Version Table

VersionJDBC 1JDBC 2JDBC 2 EEJDBC 3JDBC 4Source
8.3dev Build 601 8.3dev-601 JDBC 28.3dev-601 JDBC 2EE8.3dev-601 JDBC 38.3dev-601 JDBC 48.3dev-601 JDBC Source
8.2 Build 506 8.2-506 JDBC 28.2-506 JDBC 2EE8.2-506 JDBC 38.2-506 JDBC 48.2-506 JDBC Source
8.1 Build 410 8.1-410 JDBC 28.1-410 JDBC 2EE8.1-410 JDBC 3 8.1-410 JDBC Source
8.0 Build 320 8.0-320 JDBC 28.0-320 JDBC 2EE8.0-320 JDBC 3 8.0-320 JDBC Source
7.4 Build 216pg74.216.jdbc1.jarpg74.216.jdbc2.jarpg74.216.jdbc2ee.jarpg74.216.jdbc3.jar  
7.3 Build 113pg73jdbc1.jarpg73jdbc2.jarpg73jdbc2ee.jarpg73jdbc3.jar  
7.2pg72jdbc1.jarpg72jdbc2.jar    
7.1jdbc7.1-1.1.jarjdbc7.1-1.2.jar    
7.0jdbc7.0-1.1.jarjdbc7.0-1.2.jar    
6.5.2jdbc6.5-1.1.jarjdbc6.5-1.2.jar    
6.4jdbc6.4-1.1.jar     
6.3jdbc6.3-1.1.jar     
6.2.1     jdbc6.2.1.tgz
0.4     JavaPostgres95-0.4.tar.gz
0.3     JavaPostgres95-0.3.tar.gz
0.2     JavaPostgres95-0.2.tar.gz
 
Copyright © 2004-2005 The PostgreSQL Global Development Group.

Re: statement caching link on jdbc page

От:
Kris Jurka <books@ejurka.com>
Дата:


On Fri, 5 Oct 2007, Till Toenges wrote:

> I added a new section "Download Current Version" below the "About" section. 
> The idea behind this is that most people will be interested only in one or 
> two versions. In the dummy only one link to the current JDBC 3 version is 
> included, the download statistics should show which other versions are 
> popular enough to be included here.

I think this is a good idea, but I would include a link to JDBC4 as well 
because despite our poor support it is the way of the future.

> This is also a convenient place to link to the extras page, with a short 
> description of what else is available. This way, the extras will be more 
> prominently displayed, and more people will find them.

I hoping we fold in the copy stuff so that disappears and until we have 
some actual documentation/experience with the statement caching version, 
I'm not sure how prominently I would like to promote it.

> The table at the end is the same as before. Could be split up in "Development 
> Versions", "Archived Versions" and "Source Downloads" tables if it gets too 
> crowded, but it's ok for now.

Yeah, since we don't even maintain 7.X anymore, mentioning 6.X and 0.2 is 
a little pointless.

Kris Jurka

Re: statement caching link on jdbc page

От:
Heikki Linnakangas <heikki@enterprisedb.com>
Дата:
Kris Jurka wrote:
> On Fri, 5 Oct 2007, Till Toenges wrote:
> 
>> I added a new section "Download Current Version" below the "About"
>> section. The idea behind this is that most people will be interested
>> only in one or two versions. In the dummy only one link to the current
>> JDBC 3 version is included, the download statistics should show which
>> other versions are popular enough to be included here.
> 
> I think this is a good idea, but I would include a link to JDBC4 as well
> because despite our poor support it is the way of the future.

It'd be nice to have just a single version in the "Current version"
section. Could we have just the JDBC4 version there? Does it work with
older JDKs? Would be nice to have a bit more details on which JDK
versions each jar works with.

>> This is also a convenient place to link to the extras page, with a
>> short description of what else is available. This way, the extras will
>> be more prominently displayed, and more people will find them.
> 
> I hoping we fold in the copy stuff so that disappears and until we have
> some actual documentation/experience with the statement caching version,
> I'm not sure how prominently I would like to promote it.

Agreed, let's rather try to get the copy stuff merged.

>> The table at the end is the same as before. Could be split up in
>> "Development Versions", "Archived Versions" and "Source Downloads"
>> tables if it gets too crowded, but it's ok for now.
> 
> Yeah, since we don't even maintain 7.X anymore, mentioning 6.X and 0.2
> is a little pointless.

Splitting maintained and no longer maintained versions into separate
tables is a good idea. As it is, there's no mention that the older
versions are not maintained.

-- 
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com

Re: statement caching link on jdbc page

От:
Dave Cramer <pg@fastcrypt.com>
Дата:
Heikki,



Heikki Linnakangas wrote:
Kris Jurka wrote: 
On Fri, 5 Oct 2007, Till Toenges wrote:
   
I added a new section "Download Current Version" below the "About"
section. The idea behind this is that most people will be interested
only in one or two versions. In the dummy only one link to the current
JDBC 3 version is included, the download statistics should show which
other versions are popular enough to be included here.     
I think this is a good idea, but I would include a link to JDBC4 as well
because despite our poor support it is the way of the future.   
It'd be nice to have just a single version in the "Current version"
section. Could we have just the JDBC4 version there? Does it work with
older JDKs? Would be nice to have a bit more details on which JDK
versions each jar works with.
 
No, it doesn't work with older JDK's. Here is the problem. The class file structures have changed with newer versions, and cannot be read by older JRE's

You cannot compile a newer JDBC with an old compiler since the interfaces are not implemented ( among other things ) , and the  newer jars cannot be run with older JRE's

We didn't go to all the trouble of making it really hard to understand for the sake of obsfucation.

Dave
This is also a convenient place to link to the extras page, with a
short description of what else is available. This way, the extras will
be more prominently displayed, and more people will find them.     
I hoping we fold in the copy stuff so that disappears and until we have
some actual documentation/experience with the statement caching version,
I'm not sure how prominently I would like to promote it.   
Agreed, let's rather try to get the copy stuff merged.
 
The table at the end is the same as before. Could be split up in
"Development Versions", "Archived Versions" and "Source Downloads"
tables if it gets too crowded, but it's ok for now.     
Yeah, since we don't even maintain 7.X anymore, mentioning 6.X and 0.2
is a little pointless.   
Splitting maintained and no longer maintained versions into separate
tables is a good idea. As it is, there's no mention that the older
versions are not maintained.
 

Re: statement caching link on jdbc page

От:
Heikki Linnakangas <heikki@enterprisedb.com>
Дата:
Dave Cramer wrote:
> No, it doesn't work with older JDK's. Here is the problem. The class
> file structures have changed with newer versions, and cannot be read by
> older JRE's
> 
> You cannot compile a newer JDBC with an old compiler since the
> interfaces are not implemented ( among other things ) , and the  newer
> jars cannot be run with older JRE's

Could you use the JDK 1.6 compiler with "javac -target 1.5"?


-- 
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com

Re: statement caching link on jdbc page

От:
Dave Cramer <pg@fastcrypt.com>
Дата:
Heikki Linnakangas wrote:
Dave Cramer wrote: 
No, it doesn't work with older JDK's. Here is the problem. The class
file structures have changed with newer versions, and cannot be read by
older JRE's

You cannot compile a newer JDBC with an old compiler since the
interfaces are not implemented ( among other things ) , and the  newer
jars cannot be run with older JRE's   
Could you use the JDK 1.6 compiler with "javac -target 1.5"?
 
You have some control over the class compatibility, but not over the interface which is provided by the jdk library.

It might be possible, not sure.

Dave

Re: statement caching link on jdbc page

От:
Till Toenges <tt@kyon.de>
Дата:
 

Download

About

Binary JAR file downloads of the JDBC driver are available here. Because Java is platform neutral it is a simple process of just downloading the appropriate JAR file and dropping it into your classpath. For this reason the focus here is on providing pre-built versions. If you are interested in compiling from source please see the cvs instructions.

Download Current Version

This is the current version of the driver. It supports PostgreSQL 7.2 or newer, requires JDK 1.4 or newer and implements JDBC 3. Also contains support for SSL and javax.sql.

PostgreSQL JDBC Driver, Version 8.2-506 JDBC 3

This JAR contains the JDBC 4 version of the driver. It requires JDK 1.6. Support for JDBC4 methods is limited. The driver builds, but the majority of new methods are stubbed out.

PostgreSQL JDBC Driver, Version 8.2-506 JDBC 4

A number of extras and wrappers are available as well on the Extras page.

Other Versions

Many other versions of this driver are available. This includes development versions, compatibility with older JDKs, the source and previous versions of the driver.

To determine which version of the JDBC driver to download you need to determine what server version you will be running against. In general it is best to pick a matching server and driver release, but there are some exceptions. Newer driver releases will get additional features and bug fixes that you may need. Much care is taken to make newer driver releases work against older servers, so if you are having a problem and suspect it is the driver's fault, don't hesitate to try out the latest release on an older server. The current development driver is known to work with all server versions back to, and including, 7.2.

To determine which JDBC version of the driver you want you need to look at the JDK version you are running.

  • JDK 1.1 - JDBC 1. Note that with the 8.0 release JDBC 1 support has been removed, so look to update your JDK when you update your server.
  • JDK 1.2, 1.3 - JDBC 2.
  • JDK 1.3 + J2EE - JDBC 2 EE. This contains additional support for javax.sql classes.
  • JDK 1.4, 1.5 - JDBC 3. This contains support for SSL and javax.sql, but does not require J2EE as it has been added to the J2SE release.
  • JDK 1.6 - JDBC4. Support for JDBC4 methods is limited. The driver builds, but the majority of new methods are stubbed out.

Supported Versions Table

Archived Versions Table

 
Copyright © 2004-2005 The PostgreSQL Global Development Group.

Re: statement caching link on jdbc page

От:
Kris Jurka <books@ejurka.com>
Дата:


On Sat, 6 Oct 2007, Till Toenges wrote:

>> I think this is a good idea, but I would include a link to JDBC4 as well 
>> because despite our poor support it is the way of the future.
>
> Ok.

While our support of JDBC4 is poor the JDBC4 driver at least does better 
than the JDBC3 driver, so I've downplayed the JDBC4 weakness here and 
simply mentioned which applies to which JVM.

>> I hoping we fold in the copy stuff so that disappears and until we have 
>> some actual documentation/experience with the statement caching version, 
>> I'm not sure how prominently I would like to promote it.
>
> I reduced that to just mentioning the extras page. Or should i remove it 
> completely?

I've taken it out for the moment.  If we don't get copy into the 8.3 
release, or the caching driver generates some quality documentation and an 
audience we can reconsider mentioning it, but for now we'll wait.

>> Yeah, since we don't even maintain 7.X anymore, mentioning 6.X and 0.2 is a 
>> little pointless.
>
> There are two tables now, supported versions and archived versions. Is the 
> split ok?
>

Looks good, current version here:

http://jdbc.postgresql.org/download.html

Kris Jurka

Re: statement caching link on jdbc page

От:
Josh Berkus <josh@agliodbs.com>
Дата:
Jurka,

> Looks good, current version here:
> 
> http://jdbc.postgresql.org/download.html
> 
> Kris Jurka

*much* clearer.

The caching version has disappeared again, though.

--Josh

Re: statement caching link on jdbc page

От:
Kris Jurka <books@ejurka.com>
Дата:


On Sun, 7 Oct 2007, Josh Berkus wrote:

>> Looks good, current version here:
>> 
>> http://jdbc.postgresql.org/download.html
>> 
>
> The caching version has disappeared again, though.
>

Well the caching version has not been looked at by anyone other than Dave 
and Laszlo, so to be honest I have no idea if it even works.  There is 
also zero documentation telling people how to configure it.  When the 
caching wrapper gets some review, some use and some documentation I'll 
gladly promote it, but for the moment I don't think it should be one of 
the first things we push to users.

Kris Jurka
FAQ