Skip to content

Commit df4f0de

Browse files
committed
feat: Upgrade to 42.5.1
1 parent 80e1ff2 commit df4f0de

14 files changed

+2840
-2667
lines changed

VERSION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
------------------
33
* feat: Support the graph array
44
* fix: Cannot convert jsonb string to number. (AG-120)
5-
* Upgrade PostgreSQL JDBC Driver to 42.2.27.jre7
5+
* Upgrade PostgreSQL JDBC Driver to 42.5.1(JDK8+), 42.2.27.jre7(JDK7)
66

77
1.4.2 / 2018-01-11
88
------------------

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@ repositories {
2121
}
2222

2323
dependencies {
24-
implementation("org.postgresql:postgresql:42.2.27.jre7")
24+
implementation("org.postgresql:postgresql:42.5.1")
2525
implementation("com.googlecode.json-simple:json-simple:1.1.1")
2626

2727
testImplementation("junit:junit:4.13.2")
2828
testImplementation("org.testcontainers:testcontainers:1.17.6")
2929
}
3030

3131
group = "net.bitnine"
32-
version = "1.4.3.42_2_27.jre7"
32+
version = "1.4.3"
3333
description = "Agensgraph JDBC"
34-
java.sourceCompatibility = JavaVersion.VERSION_1_7
34+
java.sourceCompatibility = JavaVersion.VERSION_1_8
3535
val githubUrl = "github.com/bitnine-oss/agensgraph-jdbc"
3636

3737
java {

src/main/java/net/bitnine/agensgraph/Driver.java

Lines changed: 667 additions & 630 deletions
Large diffs are not rendered by default.

src/main/java/net/bitnine/agensgraph/ds/AGConnectionPoolDataSource.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ public class AGConnectionPoolDataSource extends BaseDataSource
2828
* Gets a description of this DataSource.
2929
*/
3030
public String getDescription() {
31-
return "ConnectionPoolDataSource from " + org.postgresql.util.DriverInfo.DRIVER_FULL_NAME;
31+
return "ConnectionPoolDataSource from " + net.bitnine.agensgraph.util.DriverInfo.DRIVER_FULL_NAME;
3232
}
3333

3434
/**
3535
* Gets a connection which may be pooled by the app server or middleware implementation of
3636
* DataSource.
3737
*
3838
* @throws java.sql.SQLException Occurs when the physical database connection cannot be
39-
* established.
39+
* established.
4040
*/
4141
public PooledConnection getPooledConnection() throws SQLException {
4242
return new PGPooledConnection(getConnection(), defaultAutoCommit);
@@ -47,7 +47,7 @@ public PooledConnection getPooledConnection() throws SQLException {
4747
* DataSource.
4848
*
4949
* @throws java.sql.SQLException Occurs when the physical database connection cannot be
50-
* established.
50+
* established.
5151
*/
5252
public PooledConnection getPooledConnection(String user, String password) throws SQLException {
5353
return new PGPooledConnection(getConnection(user, password), defaultAutoCommit);

0 commit comments

Comments
 (0)