PostgreSQL 驱动包、jdk、jdbc 版本对应关系

Download



About

Binary JAR file downloads of the JDBC driver are available here and the current version with [Maven Repository](http://search.maven.org/#search|ga|1|g%3A"org.postgresql" AND a%3A"postgresql"). Because Java is platform neutral, it is a simple process of just downloading the appropriate JAR file and dropping it into your classpath. Source versions are also available here for recent driver versions.


Current Version 42.2.22

This is the current version of the driver. Unless you have unusual requirements (running old applications or JVMs), this is the driver you should be using. It supports PostgreSQL 8.2 or newer and requires Java 6 or newer. It contains support for SSL and the javax.sql package.

  • If you are using Java 8 or newer then you should use the JDBC 4.2 version.
  • If you are using Java 7 then you should use the JDBC 4.1 version.
  • If you are using Java 6 then you should use the JDBC 4.0 version.
  • If you are using a Java version older than 6 then you will need to use a JDBC3 version of the driver, which will by necessity not be current, found in Other Versions.

PostgreSQL JDBC 4.2 Driver, 42.2.22

PostgreSQL JDBC 4.1 Driver, 42.2.22.jre7

PostgreSQL JDBC 4.0 Driver, 42.2.22.jre6


Other Versions

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

To determine JDK/JVM compatibility this following list matches up versions of the JVM with the JDBC specification implemented.

  • 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 6 - JDBC 4.0 Support for JDBC4 methods is not complete, but the majority of methods are implemented.
  • JDK 7 - JDBC 4.1 Support for JDBC4 methods is not complete, but the majority of methods are implemented.
  • JDK 8 - JDBC 4.2 Support for JDBC4 methods is not complete, but the majority of methods are implemented.
VersionJDBC 4.0JDBC 4.1JDBC 4.2Source
42.2.2242.2.22 JDBC 442.2.22 JDBC 4142.2.22 JDBC 4242.2.22 JDBC Source
42.2.2142.2.21 JDBC 442.2.21 JDBC 4142.2.21 JDBC 4242.2.21 JDBC Source
42.2.2042.2.20 JDBC 442.2.20 JDBC 4142.2.20 JDBC 4242.2.20 JDBC Source
42.2.1942.2.19 JDBC 442.2.19 JDBC 4142.2.19 JDBC 4242.2.19 JDBC Source
42.2.1842.2.18 JDBC 442.2.18 JDBC 4142.2.18 JDBC 4242.2.18 JDBC Source
42.2.1742.2.17 JDBC 442.2.17 JDBC 4142.2.17 JDBC 4242.2.17 JDBC Source
42.2.1642.2.16 JDBC 442.2.16 JDBC 4142.2.16 JDBC 4242.2.16 JDBC Source
42.2.1542.2.15 JDBC 442.2.15 JDBC 4142.2.15 JDBC 4242.2.15 JDBC Source
42.2.1442.2.14 JDBC 442.2.14 JDBC 4142.2.14 JDBC 4242.2.14 JDBC Source
42.2.1342.2.13 JDBC 442.2.13 JDBC 4142.2.13 JDBC 4242.2.13 JDBC Source
42.2.1242.2.12 JDBC 442.2.12 JDBC 4142.2.12 JDBC 4242.2.12 JDBC Source
42.2.1142.2.11 JDBC 442.2.11 JDBC 4142.2.11 JDBC 4242.2.11 JDBC Source
42.2.1042.2.10 JDBC 442.2.10 JDBC 4142.2.10 JDBC 4242.2.10 JDBC Source
42.2.942.2.9 JDBC 442.2.9 JDBC 4142.2.9 JDBC 4242.2.9 JDBC Source
42.2.842.2.8 JDBC 442.2.8 JDBC 4142.2.8 JDBC 4242.2.8 JDBC Source
42.2.742.2.7 JDBC 442.2.7 JDBC 4142.2.7 JDBC 4242.2.7 JDBC Source
42.2.642.2.6 JDBC 442.2.6 JDBC 4142.2.6 JDBC 4242.2.6 JDBC Source
42.2.542.2.5 JDBC 442.2.5 JDBC 4142.2.5 JDBC 4242.2.5 JDBC Source
42.2.442.2.4 JDBC 442.2.4 JDBC 4142.2.4 JDBC 4242.2.4 JDBC Source
42.2.342.2.3 JDBC 442.2.3 JDBC 4142.2.3 JDBC 4242.2.3 JDBC Source
42.2.242.2.2 JDBC 442.2.2 JDBC 4142.2.2 JDBC 4242.2.2 JDBC Source
42.2.142.2.1 JDBC 442.2.1 JDBC 4142.2.1 JDBC 4242.2.1 JDBC Source
42.2.042.2.0 JDBC 442.2.0 JDBC 4142.2.0 JDBC 4242.2.0 JDBC Source
42.1.442.1.4 JDBC 442.1.4 JDBC 4142.1.4 JDBC 4242.1.4 JDBC Source
42.1.342.1.3 JDBC 442.1.3 JDBC 4142.1.3 JDBC 4242.1.3 JDBC Source
42.1.242.1.2 JDBC 442.1.2 JDBC 4142.1.2 JDBC 4242.1.2 JDBC Source
42.1.142.1.1 JDBC 442.1.1 JDBC 4142.1.1 JDBC 4242.1.1 JDBC Source
42.1.042.1.0 JDBC 442.1.0 JDBC 4142.1.0 JDBC 4242.1.0 JDBC Source
42.0.042.0.0 JDBC 442.0.0 JDBC 4142.0.0 JDBC 4242.0.0 JDBC Source
9.4.12129.4.1212 JDBC 49.4.1212 JDBC 419.4.1212 JDBC 429.4.1212 JDBC Source
9.4.12119.4.1211 JDBC 49.4.1211 JDBC 419.4.1211 JDBC 429.4.1211 JDBC Source
9.4.12109.4.1210 JDBC 49.4.1210 JDBC 419.4.1210 JDBC 429.4.1210 JDBC Source
9.4.12099.4.1209 JDBC 49.4.1209 JDBC 419.4.1209 JDBC 429.4.1209 JDBC Source
9.4.12089.4.1208 JDBC 49.4.1208 JDBC 419.4.1208 JDBC 429.4.1208 JDBC Source
9.4.12079.4.1207 JDBC 49.4.1207 JDBC 419.4.1207 JDBC 429.4.1207 JDBC Source
9.4 Build 12069.4-1206 JDBC 49.4-1206 JDBC 419.4-1206 JDBC 429.4-1206 JDBC Source
9.4 Build 12059.4-1205 JDBC 49.4-1205 JDBC 419.4-1205 JDBC 429.4-1205 JDBC Source
9.4 Build 12049.4-1204 JDBC 49.4-1204 JDBC 419.4-1204 JDBC 429.4-1204 JDBC Source
9.4 Build 12039.4-1203 JDBC 49.4-1203 JDBC 419.4-1203 JDBC 429.4-1203 JDBC Source
9.4 Build 12029.4-1202 JDBC 49.4-1202 JDBC 419.4-1202 JDBC 429.4-1202 JDBC Source

Archived Versions

VersionJDBC 2JDBC 2 EEJDBC 3JDBC 4JDBC 41Source
9.3 Build 11049.3-1104 JDBC 49.3-1104 JDBC 419.3-1104 JDBC Source
9.3 Build 11039.3-1103 JDBC 39.3-1103 JDBC 49.3-1103 JDBC 419.3-1103 JDBC Source
9.2 Build 10049.2-1004 JDBC 39.2-1004 JDBC 49.2-1004 JDBC 419.2-1004 JDBC Source
9.1 Build 9039.1-903 JDBC 39.1-903 JDBC 49.1-903 JDBC Source
9.0 Build 8029.0-802 JDBC 39.0-802 JDBC 49.0-802 JDBC Source
8.4 Build 7038.4-703 JDBC 38.4-703 JDBC 48.4-703 JDBC Source
8.3 Build 6078.3-607 JDBC 28.3-607 JDBC 2EE8.3-607 JDBC 38.3-607 JDBC 48.3-607 JDBC Source
8.2 Build 5128.2-512 JDBC 28.2-512 JDBC 2EE8.2-512 JDBC 38.2-512 JDBC 48.2-512 JDBC Source
VersionJDBC 1JDBC 2JDBC 2 EEJDBC 3Source
8.1 Build 4158.1-415 JDBC 28.1-415 JDBC 2EE8.1-415 JDBC 38.1-415 JDBC Source
8.0 Build 3258.0-325 JDBC 28.0-325 JDBC 2EE8.0-325 JDBC 38.0-325 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.jar
6.3jdbc6.3.jar
6.2.1jdbc6.2.1.tgz
0.4JavaPostgres95-0.4.tar.gz
0.3JavaPostgres95-0.3.tar.gz
0.2JavaPostgres95-0.2.tar.gz

参考资料

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

  • 11
    点赞
  • 23
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
PostgreSQL是一个功能强大的开源关系数据库管理系统。它有多个版本JDBC驱动,以便与不同版本PostgreSQL数据库进行连接和操作。 以下是一些常见的PostgreSQL版本JDBC驱动: 1. PostgreSQL JDBC 42.2.23: 这是目前最新的版本PostgreSQL JDBC驱动。它支持Java 8及以上版本,并与最新的PostgreSQL数据库版本完全兼容。它提供了许多新功能和改进,如批处理、异步通信等。 2. PostgreSQL JDBC 9.4.1208: 这个版本驱动支持PostgreSQL 9.4版本数据库。它适用于Java 6及以上版本。该驱动提供了连接管理、事务处理、结果集、PrepareStatement等常用的功能。 3. PostgreSQL JDBC 8.4.703: 这个版本驱动支持PostgreSQL 8.4版本数据库。它适用于Java 5及以上版本。该驱动提供了基本的连接和查询功能,适用于较旧的PostgreSQL数据库版本。 从上述例子可以看出,PostgreSQL专门针对不同的数据库版本提供了相应的JDBC驱动。这些驱动通常会提供一套API,使得开发者可以通过Java代码与PostgreSQL数据库进行交互。这些API通常括连接管理、事务处理、SQL查询、结果集处理等等。 通过使用适当的版本JDBC驱动,开发者可以轻松地连接到PostgreSQL数据库,并使用Java来执行各种操作,括数据插入、查询、更新等。这些驱动也经过了广泛的测试和开发者社区的支持,因此它们是可靠和稳定的。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值